mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
Enable Alt action for cloning on Mac
This commit is contained in:
parent
5fb18566fe
commit
45eda40466
1 changed files with 3 additions and 2 deletions
|
@ -1118,8 +1118,9 @@ SelectionDisplay = (function() {
|
|||
return false;
|
||||
}
|
||||
|
||||
// No action if the Alt key is pressed.
|
||||
if (event.isAlt) {
|
||||
// No action if the Alt key is pressed unless on Mac.
|
||||
var isMac = Controller.getValue(Controller.Hardware.Application.PlatformMac);
|
||||
if (event.isAlt && !isMac) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue