mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:52:57 +08:00
Update with framework changes.
This commit is contained in:
parent
4307242bb6
commit
d2ced2ea79
@ -1 +1 @@
|
||||
Subproject commit cfbfbe63294b88bdcdfb92fd6ae69aa826ff62c4
|
||||
Subproject commit 150c80560480215b1081228b9ef757c21f24a32c
|
@ -120,8 +120,8 @@ namespace osu.Game.Rulesets.Timing.Drawables
|
||||
if (!Children.Any())
|
||||
return;
|
||||
|
||||
float width = Children.Select(child => child.X + child.Width).Max() - RelativeChildOffset.X;
|
||||
float height = Children.Select(child => child.Y + child.Height).Max() - RelativeChildOffset.Y;
|
||||
float width = Children.Select(child => child.X + child.Width).Max() - RelativePositionOffset.X;
|
||||
float height = Children.Select(child => child.Y + child.Height).Max() - RelativePositionOffset.Y;
|
||||
|
||||
Size = new Vector2((autoSizingAxes & Axes.X) > 0 ? width : Size.X, (autoSizingAxes & Axes.Y) > 0 ? height : Size.Y);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user