mirror of https://github.com/ppy/osu
Add keyboard shortcuts
This commit is contained in:
parent
7d7401123c
commit
de3d8e83e1
|
@ -292,6 +292,18 @@ public bool OnPressed(PlatformAction action)
|
|||
{
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue