Undo, Redo 단축키 변경

This commit is contained in:
geondo55
2025-07-16 11:54:28 +09:00
parent 58104fea4c
commit da62f00267

View File

@@ -72,7 +72,7 @@ namespace Studio.Command
var shortcutTable = new Dictionary<KeyCode, Dictionary<KeyCode, Action>>(); var shortcutTable = new Dictionary<KeyCode, Dictionary<KeyCode, Action>>();
shortcutTable.Add(KeyCode.LeftControl, new Dictionary<KeyCode, Action>()); shortcutTable.Add(KeyCode.LeftControl, new Dictionary<KeyCode, Action>());
shortcutTable[KeyCode.LeftControl].Add(KeyCode.Z, Undo); shortcutTable[KeyCode.LeftControl].Add(KeyCode.Z, Undo);
shortcutTable[KeyCode.LeftControl].Add(KeyCode.X, Redo); shortcutTable[KeyCode.LeftControl].Add(KeyCode.Y, Redo);
var handler = new InputHandler(null, null, null, shortcutTable); var handler = new InputHandler(null, null, null, shortcutTable);
return handler; return handler;
} }