mirror of
https://github.com/osukey/osukey.git
synced 2025-06-25 05:07:59 +09:00
Minor cleanups
This commit is contained in:
parent
7f299b2533
commit
8d11596b2f
@ -41,7 +41,8 @@ namespace osu.Game.Screens.Play.BreaksOverlay
|
|||||||
private readonly InfoContainer info;
|
private readonly InfoContainer info;
|
||||||
private readonly ArrowsOverlay arrowsOverlay;
|
private readonly ArrowsOverlay arrowsOverlay;
|
||||||
|
|
||||||
public BreakOverlay(bool letterboxing, ScoreProcessor scoreProcessor) : this(letterboxing)
|
public BreakOverlay(bool letterboxing, ScoreProcessor scoreProcessor)
|
||||||
|
: this(letterboxing)
|
||||||
{
|
{
|
||||||
bindProcessor(scoreProcessor);
|
bindProcessor(scoreProcessor);
|
||||||
}
|
}
|
||||||
|
@ -41,8 +41,7 @@ namespace osu.Game.Screens.Play
|
|||||||
|
|
||||||
private static bool hasShownNotificationOnce;
|
private static bool hasShownNotificationOnce;
|
||||||
|
|
||||||
public HUDOverlay(ScoreProcessor scoreProcessor, RulesetContainer rulesetContainer, DecoupleableInterpolatingFramedClock decoupledClock, WorkingBeatmap working,
|
public HUDOverlay(ScoreProcessor scoreProcessor, RulesetContainer rulesetContainer, DecoupleableInterpolatingFramedClock decoupledClock, WorkingBeatmap working, IAdjustableClock adjustableSourceClock)
|
||||||
IAdjustableClock adjustableSourceClock)
|
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
|
@ -176,7 +176,7 @@ namespace osu.Game.Screens.Play
|
|||||||
pauseContainer.Retries = RestartCount;
|
pauseContainer.Retries = RestartCount;
|
||||||
hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused;
|
hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused;
|
||||||
},
|
},
|
||||||
OnResume = () => { hudOverlay.KeyCounter.IsCounting = true; },
|
OnResume = () => hudOverlay.KeyCounter.IsCounting = true,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Container
|
new Container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user