1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-06 07:45:02 +08:00

Add keyboard shortcuts

This commit is contained in:
Dean Herbert
2020-09-11 19:55:41 +09:00
Unverified
parent 7d7401123c
commit de3d8e83e1
+12
View File
@@ -292,6 +292,18 @@ namespace osu.Game.Screens.Edit
{
switch (action.ActionType)
{
case PlatformActionType.Cut:
Cut();
return true;
case PlatformActionType.Copy:
Copy();
return true;
case PlatformActionType.Paste:
Paste();
return true;
case PlatformActionType.Undo:
Undo();
return true;