1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 03:49:56 +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:
Dan Balasescu
2020-10-09 19:48:47 +09:00
committed by GitHub
Unverified
@@ -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()