|
|
@ -55,8 +55,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
moved, |
|
|
|
moved, |
|
|
|
|
|
|
|
|
|
|
|
forRepaintDummy, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @const */ |
|
|
|
/** @const */ |
|
|
|
R_SPACE = /\s+/g, |
|
|
|
R_SPACE = /\s+/g, |
|
|
|
R_FLOAT = /left|right|inline/, |
|
|
|
R_FLOAT = /left|right|inline/, |
|
|
@ -899,7 +897,7 @@ |
|
|
|
+ (prevRect.top - currentRect.top) + 'px,0)' |
|
|
|
+ (prevRect.top - currentRect.top) + 'px,0)' |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
forRepaintDummy = target.offsetWidth; // repaint
|
|
|
|
this._repaint(target); |
|
|
|
|
|
|
|
|
|
|
|
_css(target, 'transition', 'all ' + ms + 'ms'); |
|
|
|
_css(target, 'transition', 'all ' + ms + 'ms'); |
|
|
|
_css(target, 'transform', 'translate3d(0,0,0)'); |
|
|
|
_css(target, 'transform', 'translate3d(0,0,0)'); |
|
|
@ -913,6 +911,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_repaint: function(target) { |
|
|
|
|
|
|
|
return target.offsetWidth; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_offUpEvents: function () { |
|
|
|
_offUpEvents: function () { |
|
|
|
var ownerDocument = this.el.ownerDocument; |
|
|
|
var ownerDocument = this.el.ownerDocument; |
|
|
|
|
|
|
|
|
|
|
|