Skip to content

Commit 4ad669e

Browse files
authored
Merge pull request #20811 from cdwcgt/taiko-compose
Fix placement preview not showing in timeline of osu!taiko editor
2 parents a094225 + 819e598 commit 4ad669e

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

osu.Game.Rulesets.Taiko/Edit/Blueprints/HitPlacementBlueprint.cs

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ public HitPlacementBlueprint()
2727
};
2828
}
2929

30+
protected override void LoadComplete()
31+
{
32+
base.LoadComplete();
33+
BeginPlacement();
34+
}
35+
3036
protected override bool OnMouseDown(MouseDownEvent e)
3137
{
3238
switch (e.Button)

osu.Game.Rulesets.Taiko/Edit/Blueprints/TaikoSpanPlacementBlueprint.cs

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ public TaikoSpanPlacementBlueprint(HitObject hitObject)
5252
private double originalStartTime;
5353
private Vector2 originalPosition;
5454

55+
protected override void LoadComplete()
56+
{
57+
base.LoadComplete();
58+
BeginPlacement();
59+
}
60+
5561
protected override bool OnMouseDown(MouseDownEvent e)
5662
{
5763
if (e.Button != MouseButton.Left)

osu.Game.Rulesets.Taiko/Edit/TaikoHitObjectComposer.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
22
// See the LICENCE file in the repository root for full licence text.
33

4-
#nullable disable
5-
64
using System.Collections.Generic;
75
using osu.Game.Rulesets.Edit;
86
using osu.Game.Rulesets.Edit.Tools;

0 commit comments

Comments
 (0)