ibp盘调整
This commit is contained in:
parent
455202a851
commit
7f0d548cb4
@ -124,7 +124,12 @@ class MouseController extends Eventful {
|
|||||||
this.trigger(this.events.__Pan, { dx, dy, oldX, oldY, newX: this._x, newY: this._y });
|
this.trigger(this.events.__Pan, { dx, dy, oldX, oldY, newX: this._x, newY: this._y });
|
||||||
return true;
|
return true;
|
||||||
} else if (this.isAllowDragging) {
|
} else if (this.isAllowDragging) {
|
||||||
this.eventTarget.drift(dx, dy, e);
|
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 {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user