mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Remove unnecessary guard
Setting a bindable's value to something if that value is already there is a no-op (doesn't trigger bindings / callbacks).
This commit is contained in:
parent
0e0ab66148
commit
246aacb216
@ -1172,8 +1172,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
clock.SeekSmoothlyTo(position);
|
||||
|
||||
if (Mode.Value != EditorScreenMode.Compose)
|
||||
Mode.Value = EditorScreenMode.Compose;
|
||||
Mode.Value = EditorScreenMode.Compose;
|
||||
|
||||
// Delegate handling the selection to the ruleset.
|
||||
currentScreen.Dependencies.Get<HitObjectComposer>().SelectHitObjects(position, selection);
|
||||
|
Loading…
Reference in New Issue
Block a user