client: remove mind move

This commit is contained in:
fantasticit 2022-09-16 19:54:07 +08:00
parent a197b47ec5
commit e32f3ebf7e
1 changed files with 5 additions and 5 deletions

View File

@ -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);