mirror of
https://github.com/osukey/osukey.git
synced 2025-05-24 15:07:20 +09:00
Handle no hitobjects / no hitwindows (osu!catch)
This commit is contained in:
parent
394208afc5
commit
665fc95d49
@ -63,6 +63,9 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
{
|
{
|
||||||
Children.ForEach(c => c.FadeOut(fade_duration, Easing.OutQuint));
|
Children.ForEach(c => c.FadeOut(fade_duration, Easing.OutQuint));
|
||||||
|
|
||||||
|
if (hitWindows == null)
|
||||||
|
return;
|
||||||
|
|
||||||
switch (type.NewValue)
|
switch (type.NewValue)
|
||||||
{
|
{
|
||||||
case ScoreMeterType.HitErrorBoth:
|
case ScoreMeterType.HitErrorBoth:
|
||||||
|
@ -259,7 +259,7 @@ namespace osu.Game.Screens.Play
|
|||||||
Margin = new MarginPadding { Top = 20, Right = 10 },
|
Margin = new MarginPadding { Top = 20, Right = 10 },
|
||||||
};
|
};
|
||||||
|
|
||||||
protected virtual HitErrorDisplay CreateHitErrorDisplayOverlay() => new HitErrorDisplay(scoreProcessor, drawableRuleset.Objects.First().HitWindows);
|
protected virtual HitErrorDisplay CreateHitErrorDisplayOverlay() => new HitErrorDisplay(scoreProcessor, drawableRuleset.Objects.FirstOrDefault().HitWindows);
|
||||||
|
|
||||||
protected virtual PlayerSettingsOverlay CreatePlayerSettingsOverlay() => new PlayerSettingsOverlay();
|
protected virtual PlayerSettingsOverlay CreatePlayerSettingsOverlay() => new PlayerSettingsOverlay();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user