mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Ensure transformations are never used prior to being added to the Drawable tree.
This commit is contained in:
@ -70,14 +70,16 @@ namespace osu.Game.Graphics.UserInterface
|
||||
{
|
||||
return count;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
prevCount = VisibleValue;
|
||||
count = value;
|
||||
if (IsLoaded)
|
||||
{
|
||||
transformCount(prevCount, count);
|
||||
prevCount = VisibleValue;
|
||||
transformCount(prevCount, value);
|
||||
}
|
||||
|
||||
count = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user