ibp盘调整

This commit is contained in:
fan 2019-09-05 19:27:30 +08:00
parent 455202a851
commit 7f0d548cb4

View File

@ -124,7 +124,12 @@ class MouseController extends Eventful {
this.trigger(this.events.__Pan, { dx, dy, oldX, oldY, newX: this._x, newY: this._y });
return true;
} else if (this.isAllowDragging) {
if (this.eventTarget._type === deviceType.Clock || this.eventTarget._type === deviceType.Elevator) {
this.eventTarget.grouper.drift(dx, dy, e);
} else {
this.eventTarget.drift(dx, dy, e);
}
}
} else {
return true;