Skip to content

Commit 6e88652

Browse files
committed
fix: ignore glow grapgics for layouts
1 parent 3ea0f22 commit 6e88652

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Assets/PurrUI/Runtime/ProceduralUI/GlowGraphic.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace PurrNet.UI
88
#else
99
[AddComponentMenu("UI/PurrUI/Glow Graphic")]
1010
#endif
11-
public class GlowGraphic : SignedDistanceFieldGraphic
11+
public class GlowGraphic : SignedDistanceFieldGraphic, ILayoutIgnorer
1212
{
1313
const string GLOW_SHADER_NAME = "Hidden/PurrUI/GlowRenderer";
1414

@@ -458,5 +458,7 @@ void PopulateGlowSubdivided(VertexHelper vh, float width, float height)
458458
}
459459
}
460460
}
461+
462+
public bool ignoreLayout => true;
461463
}
462464
}

0 commit comments

Comments
 (0)