mirror of
https://github.com/ppy/osu.git
synced 2025-03-10 21:40:34 +08:00
Move to file menu
This commit is contained in:
parent
64830e2c31
commit
d9b7d034ba
@ -392,10 +392,6 @@ namespace osu.Game.Screens.Edit
|
||||
{
|
||||
undoMenuItem = new EditorMenuItem(CommonStrings.Undo, MenuItemType.Standard, Undo) { Hotkey = new Hotkey(PlatformAction.Undo) },
|
||||
redoMenuItem = new EditorMenuItem(CommonStrings.Redo, MenuItemType.Standard, Redo) { Hotkey = new Hotkey(PlatformAction.Redo) },
|
||||
discardChangesMenuItem = new EditorMenuItem(GlobalActionKeyBindingStrings.EditorDiscardUnsavedChanges, MenuItemType.Destructive, DiscardUnsavedChanges)
|
||||
{
|
||||
Hotkey = new Hotkey(GlobalAction.EditorDiscardUnsavedChanges)
|
||||
},
|
||||
new OsuMenuItemSpacer(),
|
||||
cutMenuItem = new EditorMenuItem(CommonStrings.Cut, MenuItemType.Standard, Cut) { Hotkey = new Hotkey(PlatformAction.Cut) },
|
||||
copyMenuItem = new EditorMenuItem(CommonStrings.Copy, MenuItemType.Standard, Copy) { Hotkey = new Hotkey(PlatformAction.Copy) },
|
||||
@ -1273,6 +1269,11 @@ namespace osu.Game.Screens.Edit
|
||||
saveRelatedMenuItems.Add(save);
|
||||
yield return save;
|
||||
|
||||
yield return discardChangesMenuItem = new EditorMenuItem(GlobalActionKeyBindingStrings.EditorDiscardUnsavedChanges, MenuItemType.Destructive, DiscardUnsavedChanges)
|
||||
{
|
||||
Hotkey = new Hotkey(GlobalAction.EditorDiscardUnsavedChanges)
|
||||
};
|
||||
|
||||
if (RuntimeInfo.OS != RuntimeInfo.Platform.Android)
|
||||
{
|
||||
var export = createExportMenu();
|
||||
|
Loading…
x
Reference in New Issue
Block a user