mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +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()
|
private void updateAccentColour()
|
||||||
{
|
{
|
||||||
headCircle.AccentColour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
|
var colour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
|
||||||
body.Colour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
|
|
||||||
end.Colour = LegacyColourCompatibility.DisallowZeroAlpha(accentColour);
|
headCircle.AccentColour = colour;
|
||||||
|
body.Colour = colour;
|
||||||
|
end.Colour = colour;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user