From 7a29d0057d4403c4d774224009b376c0703e5c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20Sch=C3=BCrz?= Date: Wed, 2 Oct 2024 11:48:35 +0200 Subject: [PATCH] Use correct invalidation for texture rects --- osu.Framework/Graphics/Sprites/NineSliceSprite.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Framework/Graphics/Sprites/NineSliceSprite.cs b/osu.Framework/Graphics/Sprites/NineSliceSprite.cs index f544ad3e1b..1235a5e6f6 100644 --- a/osu.Framework/Graphics/Sprites/NineSliceSprite.cs +++ b/osu.Framework/Graphics/Sprites/NineSliceSprite.cs @@ -165,7 +165,7 @@ private MarginPadding relativeGeometryInset protected override DrawNode CreateDrawNode() => new NineSliceSpriteDrawNode(this); - private readonly LayoutValue textureRectsBacking = new LayoutValue(Invalidation.DrawInfo); + private readonly LayoutValue textureRectsBacking = new LayoutValue(Invalidation.DrawSize); private readonly LayoutValue drawQuadsBacking = new LayoutValue(Invalidation.DrawInfo | Invalidation.RequiredParentSizeToFit | Invalidation.Presence);