diff --git a/src/ibp/mouseController.js b/src/ibp/mouseController.js index c531b746d..8b5cbff1d 100644 --- a/src/ibp/mouseController.js +++ b/src/ibp/mouseController.js @@ -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) { - 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 { return true;