mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:13:31 +08:00
Add keyboard shortcuts
This commit is contained in:
parent
7d7401123c
commit
de3d8e83e1
@ -292,6 +292,18 @@ namespace osu.Game.Screens.Edit
|
|||||||
{
|
{
|
||||||
switch (action.ActionType)
|
switch (action.ActionType)
|
||||||
{
|
{
|
||||||
|
case PlatformActionType.Cut:
|
||||||
|
Cut();
|
||||||
|
return true;
|
||||||
|
|
||||||
|
case PlatformActionType.Copy:
|
||||||
|
Copy();
|
||||||
|
return true;
|
||||||
|
|
||||||
|
case PlatformActionType.Paste:
|
||||||
|
Paste();
|
||||||
|
return true;
|
||||||
|
|
||||||
case PlatformActionType.Undo:
|
case PlatformActionType.Undo:
|
||||||
Undo();
|
Undo();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user