|
|
@ -171,6 +171,7 @@ RangeItem.prototype.repositionX = function(limitSize) { |
|
|
|
var parentWidth = this.parent.width; |
|
|
|
var start = this.conversion.toScreen(this.data.start); |
|
|
|
var end = this.conversion.toScreen(this.data.end); |
|
|
|
var align = this.data.align === undefined ? this.options.align : this.data.align; |
|
|
|
var contentStartPosition; |
|
|
|
var contentWidth; |
|
|
|
|
|
|
@ -217,7 +218,7 @@ RangeItem.prototype.repositionX = function(limitSize) { |
|
|
|
} |
|
|
|
this.dom.box.style.width = boxWidth + 'px'; |
|
|
|
|
|
|
|
switch (this.options.align) { |
|
|
|
switch (align) { |
|
|
|
case 'left': |
|
|
|
if (this.options.rtl) { |
|
|
|
this.dom.content.style.right = '0'; |
|
|
|