1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

Store computed accent colour to local

This commit is contained in:
smoogipoo 2020-08-26 14:24:04 +09:00
parent c09cef4fca
commit 2cf2ba8fc5

View File

@ -76,9 +76,11 @@ namespace osu.Game.Rulesets.Taiko.Skinning
private void updateAccentColour()
{
headCircle.AccentColour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
body.Colour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
end.Colour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
var colour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
headCircle.AccentColour = colour;
body.Colour = colour;
end.Colour = colour;
}
}
}