mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
OSX does not dispatch SoftDelete (tested on mbp no external keyboard), only Delete.
This commit is contained in:
parent
88d23a07f6
commit
58d32bfd85
@ -279,6 +279,7 @@ namespace XNodeEditor {
|
|||||||
break;
|
break;
|
||||||
case EventType.ValidateCommand:
|
case EventType.ValidateCommand:
|
||||||
if (e.commandName == "SoftDelete") RemoveSelectedNodes();
|
if (e.commandName == "SoftDelete") RemoveSelectedNodes();
|
||||||
|
else if (SystemInfo.operatingSystemFamily == OperatingSystemFamily.MacOSX && e.commandName == "Delete") RemoveSelectedNodes();
|
||||||
else if (e.commandName == "Duplicate") DublicateSelectedNodes();
|
else if (e.commandName == "Duplicate") DublicateSelectedNodes();
|
||||||
Repaint();
|
Repaint();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user