Skip to content

Commit

Permalink
Use correct invalidation for texture rects
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Schürz committed Oct 2, 2024
1 parent d16c567 commit 7a29d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osu.Framework/Graphics/Sprites/NineSliceSprite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private MarginPadding relativeGeometryInset

protected override DrawNode CreateDrawNode() => new NineSliceSpriteDrawNode(this);

private readonly LayoutValue<RectangleF[]> textureRectsBacking = new LayoutValue<RectangleF[]>(Invalidation.DrawInfo);
private readonly LayoutValue<RectangleF[]> textureRectsBacking = new LayoutValue<RectangleF[]>(Invalidation.DrawSize);

private readonly LayoutValue<Quad[]> drawQuadsBacking = new LayoutValue<Quad[]>(Invalidation.DrawInfo | Invalidation.RequiredParentSizeToFit | Invalidation.Presence);

Expand Down

0 comments on commit 7a29d00

Please sign in to comment.