Skip to content

Commit

Permalink
Merge pull request #28657 from peppy/playfield-skin-components-respec…
Browse files Browse the repository at this point in the history
…t-border

Change "playfield" skin layer to respect shifting playfield border in osu! ruleset
  • Loading branch information
peppy authored Jul 1, 2024
2 parents 2f9bce5 + 55b80f7 commit 56f4f40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osu.Game.Rulesets.Osu/UI/OsuPlayfield.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Primitives;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Objects;
Expand Down Expand Up @@ -47,6 +48,8 @@ public partial class OsuPlayfield : Playfield

protected override GameplayCursorContainer? CreateCursor() => new OsuCursorContainer();

public override Quad SkinnableComponentScreenSpaceDrawQuad => playfieldBorder.ScreenSpaceDrawQuad;

private readonly Container judgementAboveHitObjectLayer;

public OsuPlayfield()
Expand Down

0 comments on commit 56f4f40

Please sign in to comment.