1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-03 03:20:16 +08:00

IsLit Adjustment.

This commit is contained in:
Huo Yaoyuan
2016-09-23 19:41:25 +08:00
Unverified
parent ba19fe1b97
commit d8666deaa0
+3 -3
View File
@@ -24,14 +24,14 @@ namespace osu.Game.Graphics.UserInterface
public bool IsLit
{
get { return isLit; }
set
protected set
{
if (value && !isLit && ParentCounter.IsCounting)
IncreaseCount();
if (isLit != value)
{
isLit = value;
UpdateGlowSprite();
if (value && ParentCounter.IsCounting)
IncreaseCount();
}
}
}