mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 12:53:11 +08:00
Change "playfield" skin layer to respect shifting playfield border in osu! ruleset
This commit is contained in:
parent
4bb8a45d75
commit
55b80f70f6
@ -8,6 +8,7 @@ using System.Linq;
|
|||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
|
using osu.Framework.Graphics.Primitives;
|
||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Rulesets.Judgements;
|
using osu.Game.Rulesets.Judgements;
|
||||||
using osu.Game.Rulesets.Objects;
|
using osu.Game.Rulesets.Objects;
|
||||||
@ -47,6 +48,8 @@ namespace osu.Game.Rulesets.Osu.UI
|
|||||||
|
|
||||||
protected override GameplayCursorContainer? CreateCursor() => new OsuCursorContainer();
|
protected override GameplayCursorContainer? CreateCursor() => new OsuCursorContainer();
|
||||||
|
|
||||||
|
public override Quad SkinnableComponentScreenSpaceDrawQuad => playfieldBorder.ScreenSpaceDrawQuad;
|
||||||
|
|
||||||
private readonly Container judgementAboveHitObjectLayer;
|
private readonly Container judgementAboveHitObjectLayer;
|
||||||
|
|
||||||
public OsuPlayfield()
|
public OsuPlayfield()
|
||||||
|
Loading…
Reference in New Issue
Block a user