Don't move or rotate entities if Alt or Meta keys are pressed

This commit is contained in:
David Rowe 2017-11-07 13:35:31 +13:00
parent 99552910f7
commit 60319e8d53

View file

@ -315,6 +315,10 @@ Grabber.prototype.pressEvent = function(event) {
return;
}
if (event.isAlt || event.isMeta) {
return;
}
if (Overlays.getOverlayAtPoint(Reticle.position) > 0) {
// the mouse is pointing at an overlay; don't look for entities underneath the overlay.
return;