improve model/group selection with shiftKey. prevent drag/move unless shiftKey

This commit is contained in:
Stewart Allen 2022-01-02 19:52:56 -05:00
commit 356a2634e8
3 changed files with 32 additions and 9 deletions

View file

@ -875,7 +875,11 @@
let delta = mouseDragPoint.clone().sub(int[0].point);
let offset = mouseDragStart.clone().sub(int[0].point);
mouseDragPoint = int[0].point;
mouseDrag({x: -delta.x, y: delta.z}, offset.multiplyVectors(offset, trackDelta));
mouseDrag({
x: -delta.x,
y: delta.z,
event
}, offset.multiplyVectors(offset, trackDelta));
requestRefresh();
}
}