From 37315d589ea930d05dbb6d5af36b062edfad6397 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 6 Jun 2025 19:33:57 +0900 Subject: [PATCH] Avoid transform churn due to every frame `AccentColour` updates --- osu.Game/Screens/SelectV2/Panel.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game/Screens/SelectV2/Panel.cs b/osu.Game/Screens/SelectV2/Panel.cs index 0ba293ca7b..878248dcae 100644 --- a/osu.Game/Screens/SelectV2/Panel.cs +++ b/osu.Game/Screens/SelectV2/Panel.cs @@ -69,6 +69,9 @@ namespace osu.Game.Screens.SelectV2 get => accentColour; set { + if (value == accentColour) + return; + accentColour = value; updateAccentColour(); }