mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
IsLit Adjustment.
This commit is contained in:
@ -24,14 +24,14 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
public bool IsLit
|
public bool IsLit
|
||||||
{
|
{
|
||||||
get { return isLit; }
|
get { return isLit; }
|
||||||
set
|
protected set
|
||||||
{
|
{
|
||||||
if (value && !isLit && ParentCounter.IsCounting)
|
|
||||||
IncreaseCount();
|
|
||||||
if (isLit != value)
|
if (isLit != value)
|
||||||
{
|
{
|
||||||
isLit = value;
|
isLit = value;
|
||||||
UpdateGlowSprite();
|
UpdateGlowSprite();
|
||||||
|
if (value && ParentCounter.IsCounting)
|
||||||
|
IncreaseCount();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user