Rename one more "{duplicate -> clone}" reference

This commit is contained in:
Bartłomiej Dach 2022-10-25 21:34:41 +02:00
parent bcdf24b972
commit f5ca447b8e
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}