mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 13:32:54 +08:00
Merge pull request #10428 from peppy/editor-reset-newcombo-on-placement
Reset new combo button state after successful placement
This commit is contained in:
commit
07f19342d1
@ -201,7 +201,12 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
protected override void AddBlueprintFor(HitObject hitObject)
|
||||
{
|
||||
refreshTool();
|
||||
|
||||
base.AddBlueprintFor(hitObject);
|
||||
|
||||
// on successful placement, the new combo button should be reset as this is the most common user interaction.
|
||||
if (Beatmap.SelectedHitObjects.Count == 0)
|
||||
NewCombo.Value = TernaryState.False;
|
||||
}
|
||||
|
||||
private void createPlacement()
|
||||
|
Loading…
Reference in New Issue
Block a user