Add checks guarding against setting tracking on multiple trackingcongtainers and setting facade size

This commit is contained in:
David Zhao
2019-04-05 13:56:08 +09:00
parent 7047f305a1
commit b1d74e57e5
2 changed files with 27 additions and 23 deletions

View File

@ -60,7 +60,7 @@ namespace osu.Game.Screens.Menu
/// <remarks>Does not account for the scale of this <see cref="OsuLogo"/></remarks>
public float SizeForFlow => logo == null ? 0 : logo.DrawSize.X * logo.Scale.X * logoBounceContainer.Scale.X * logoHoverContainer.Scale.X;
public bool HasTrackingContainer { get; set; }
public bool IsTracking { get; set; }
private readonly Sprite ripple;