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:
parent
c09cef4fca
commit
2cf2ba8fc5
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user