mirror of https://github.com/fantasticit/think.git
client: remove mind move
This commit is contained in:
parent
a197b47ec5
commit
e32f3ebf7e
|
@ -164,7 +164,7 @@ define(function (require, exports, module) {
|
||||||
|
|
||||||
// 当前偏移加上历史偏移
|
// 当前偏移加上历史偏移
|
||||||
var offset = kity.Vector.fromPoints(lastPosition, currentPosition);
|
var offset = kity.Vector.fromPoints(lastPosition, currentPosition);
|
||||||
dragger.move(offset);
|
// dragger.move(offset);
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.originEvent.preventDefault();
|
e.originEvent.preventDefault();
|
||||||
|
@ -308,10 +308,10 @@ define(function (require, exports, module) {
|
||||||
dy = e.wheelDelta;
|
dy = e.wheelDelta;
|
||||||
}
|
}
|
||||||
|
|
||||||
this._viewDragger.move({
|
// this._viewDragger.move({
|
||||||
x: dx / 2.5,
|
// x: dx / 2.5,
|
||||||
y: dy / 2.5,
|
// y: dy / 2.5,
|
||||||
});
|
// });
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
clearTimeout(this._mousewheeltimer);
|
clearTimeout(this._mousewheeltimer);
|
||||||
|
|
Loading…
Reference in New Issue