We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f29c04 commit eefae3cCopy full SHA for eefae3c
hrt/tools/Gizmo.hx
@@ -208,9 +208,10 @@ class Gizmo extends h3d.scene.Object {
208
209
210
function startMove(handle: Handle, duplicating: Bool = false) {
211
- if (onStartMove != null && !moving) {
+ if (!moving) {
212
initialAbsPos = this.getAbsPos().clone();
213
- onStartMove(handle);
+ if (onStartMove != null)
214
+ onStartMove(handle);
215
216
initialMousePos = new h2d.col.Point(mouseX, mouseY);
217
var scene = getScene();
0 commit comments