mirror of https://github.com/ppy/osu
Rename one more "{duplicate -> clone}" reference
This commit is contained in:
parent
bcdf24b972
commit
f5ca447b8e
|
@ -304,7 +304,7 @@ private void load(OsuConfigManager config)
|
|||
cutMenuItem = new EditorMenuItem("Cut", MenuItemType.Standard, Cut),
|
||||
copyMenuItem = new EditorMenuItem("Copy", MenuItemType.Standard, Copy),
|
||||
pasteMenuItem = new EditorMenuItem("Paste", MenuItemType.Standard, Paste),
|
||||
duplicateMenuItem = new EditorMenuItem("Clone", MenuItemType.Standard, Clone),
|
||||
cloneMenuItem = new EditorMenuItem("Clone", MenuItemType.Standard, Clone),
|
||||
}
|
||||
},
|
||||
new MenuItem("View")
|
||||
|
@ -746,7 +746,7 @@ private void updateInProgress(ValueChangedEvent<bool> obj)
|
|||
|
||||
private EditorMenuItem cutMenuItem;
|
||||
private EditorMenuItem copyMenuItem;
|
||||
private EditorMenuItem duplicateMenuItem;
|
||||
private EditorMenuItem cloneMenuItem;
|
||||
private EditorMenuItem pasteMenuItem;
|
||||
|
||||
private readonly BindableWithCurrent<bool> canCut = new BindableWithCurrent<bool>();
|
||||
|
@ -759,7 +759,7 @@ private void setUpClipboardActionAvailability()
|
|||
canCopy.Current.BindValueChanged(copy =>
|
||||
{
|
||||
copyMenuItem.Action.Disabled = !copy.NewValue;
|
||||
duplicateMenuItem.Action.Disabled = !copy.NewValue;
|
||||
cloneMenuItem.Action.Disabled = !copy.NewValue;
|
||||
}, true);
|
||||
canPaste.Current.BindValueChanged(paste => pasteMenuItem.Action.Disabled = !paste.NewValue, true);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue