mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
Ensure OsuResumeCursor can change scale when it is being shown
This commit is contained in:
parent
fdc17d2adb
commit
7931510d7b
@ -43,7 +43,13 @@ namespace osu.Game.Rulesets.Osu.UI
|
||||
Add(localCursorContainer = newContainer);
|
||||
|
||||
clickToResumeCursor.CursorScale = newContainer.CalculatedCursorScale.Value;
|
||||
newContainer.CalculatedCursorScale.ValueChanged += e => clickToResumeCursor.CursorScale = e.NewValue;
|
||||
clickToResumeCursor.Scale = new Vector2(newContainer.CalculatedCursorScale.Value);
|
||||
|
||||
newContainer.CalculatedCursorScale.ValueChanged += e =>
|
||||
{
|
||||
clickToResumeCursor.CursorScale = e.NewValue;
|
||||
clickToResumeCursor.Scale = new Vector2(e.NewValue);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user