From f1170199b5ea53e76f0077eea24cc5687d5787a1 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Sun, 18 Aug 2024 19:47:27 +0800 Subject: [PATCH] Rename the button. --- .../Content/Compose/Toolbar/Carets/MoveToCaretPositionButton.cs | 2 +- .../Toolbar/{KeyActionButton.cs => ToolbarEditActionButton.cs} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/{KeyActionButton.cs => ToolbarEditActionButton.cs} (85%) diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/Carets/MoveToCaretPositionButton.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/Carets/MoveToCaretPositionButton.cs index dd7ca2fc7..3328eb22b 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/Carets/MoveToCaretPositionButton.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/Carets/MoveToCaretPositionButton.cs @@ -8,7 +8,7 @@ namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.Content.Compose.Toolbar.Carets; -public abstract partial class MoveToCaretPositionButton : KeyActionButton +public abstract partial class MoveToCaretPositionButton : ToolbarEditActionButton { protected abstract MovingCaretAction AcceptAction { get; } diff --git a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/KeyActionButton.cs b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/ToolbarEditActionButton.cs similarity index 85% rename from osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/KeyActionButton.cs rename to osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/ToolbarEditActionButton.cs index 3e03bb395..aec6037f2 100644 --- a/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/KeyActionButton.cs +++ b/osu.Game.Rulesets.Karaoke/Screens/Edit/Beatmaps/Lyrics/Content/Compose/Toolbar/ToolbarEditActionButton.cs @@ -9,7 +9,7 @@ namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.Content.Compose /// /// Button that able to receive the event. /// -public abstract partial class KeyActionButton : ToolbarButton, IKeyBindingHandler, IHasIKeyBindingHandlerOrder +public abstract partial class ToolbarEditActionButton : ToolbarButton, IKeyBindingHandler, IHasIKeyBindingHandlerOrder { protected abstract KaraokeEditAction EditAction { get; }