mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:42:56 +08:00
Update framework.
This commit is contained in:
parent
cd435f7ec6
commit
ed145e9bc9
@ -1 +1 @@
|
|||||||
Subproject commit b72b5a59a689358c4c5785623fbf5019169a66fc
|
Subproject commit 9131d8a75d784c42649fc04ad16ee609fe81748f
|
@ -9,7 +9,6 @@ using osu.Framework.Graphics;
|
|||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using osu.Game.Rulesets.Objects;
|
using osu.Game.Rulesets.Objects;
|
||||||
using osu.Game.Rulesets.Objects.Drawables;
|
using osu.Game.Rulesets.Objects.Drawables;
|
||||||
using osu.Game.Rulesets.Objects.Types;
|
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
namespace osu.Game.Rulesets.Timing.Drawables
|
namespace osu.Game.Rulesets.Timing.Drawables
|
||||||
@ -71,7 +70,7 @@ namespace osu.Game.Rulesets.Timing.Drawables
|
|||||||
public override void InvalidateFromChild(Invalidation invalidation)
|
public override void InvalidateFromChild(Invalidation invalidation)
|
||||||
{
|
{
|
||||||
// We only want to re-compute our size when a child's size or position has changed
|
// We only want to re-compute our size when a child's size or position has changed
|
||||||
if ((invalidation & Invalidation.Geometry) == 0)
|
if ((invalidation & Invalidation.RequiredParentSizeToFit) == 0)
|
||||||
{
|
{
|
||||||
base.InvalidateFromChild(invalidation);
|
base.InvalidateFromChild(invalidation);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user