From 91ceb78d5c908872071d9c3a8618a67fef196e0b Mon Sep 17 00:00:00 2001 From: andy840119 Date: Mon, 5 Sep 2022 22:55:13 +0800 Subject: [PATCH] Move this shit inside the function. Because user will only care about the is lockable or not. --- .../Edit/Utils/HitObjectWritableUtils.cs | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/osu.Game.Rulesets.Karaoke/Edit/Utils/HitObjectWritableUtils.cs b/osu.Game.Rulesets.Karaoke/Edit/Utils/HitObjectWritableUtils.cs index a4b23bb0d..ed5ec102a 100644 --- a/osu.Game.Rulesets.Karaoke/Edit/Utils/HitObjectWritableUtils.cs +++ b/osu.Game.Rulesets.Karaoke/Edit/Utils/HitObjectWritableUtils.cs @@ -160,18 +160,17 @@ private static bool isWriteNotePropertyLockedByReferenceLyric(Lyric lyric, strin } #endregion - } - [Flags] - public enum LockLyricPropertyBy - { - ReferenceLyricConfig, + public enum LockLyricPropertyBy + { + ReferenceLyricConfig, - LockState, - } + LockState, + } - public enum LockNotePropertyBy - { - ReferenceLyricConfig, + public enum LockNotePropertyBy + { + ReferenceLyricConfig, + } } }