mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +08:00
Merge branch 'master' into proper-taiko-hitsounds
This commit is contained in:
commit
02f4705178
@ -86,7 +86,7 @@ namespace osu.Game.Rulesets.Taiko.Replays
|
|||||||
{
|
{
|
||||||
foreach (var tick in drumRoll.NestedHitObjects.OfType<DrumRollTick>())
|
foreach (var tick in drumRoll.NestedHitObjects.OfType<DrumRollTick>())
|
||||||
{
|
{
|
||||||
Frames.Add(new ReplayFrame(tick.StartTime, null, null, hitButton ? ReplayButtonState.Left1 : ReplayButtonState.Left2));
|
Frames.Add(new ReplayFrame(tick.StartTime, null, null, hitButton ? ReplayButtonState.Right1 : ReplayButtonState.Right2));
|
||||||
hitButton = !hitButton;
|
hitButton = !hitButton;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,9 +85,12 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private void notificationClosed()
|
private void notificationClosed()
|
||||||
{
|
{
|
||||||
// hide ourselves if all notifications have been dismissed.
|
Schedule(() =>
|
||||||
if (totalCount == 0)
|
{
|
||||||
State = Visibility.Hidden;
|
// hide ourselves if all notifications have been dismissed.
|
||||||
|
if (totalCount == 0)
|
||||||
|
State = Visibility.Hidden;
|
||||||
|
});
|
||||||
|
|
||||||
updateCounts();
|
updateCounts();
|
||||||
}
|
}
|
||||||
|
@ -95,8 +95,8 @@ namespace osu.Game.Overlays.Notifications
|
|||||||
|
|
||||||
protected virtual void Completed()
|
protected virtual void Completed()
|
||||||
{
|
{
|
||||||
base.Close();
|
|
||||||
CompletionTarget?.Invoke(CreateCompletionNotification());
|
CompletionTarget?.Invoke(CreateCompletionNotification());
|
||||||
|
base.Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool DisplayOnTop => false;
|
public override bool DisplayOnTop => false;
|
||||||
|
Loading…
Reference in New Issue
Block a user