Undo, Redo 단축키 변경 #212
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user