mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-17 22:08:05 +02:00
Don't move or rotate entities if Alt or Meta keys are pressed
This commit is contained in:
parent
99552910f7
commit
60319e8d53
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue