mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix an invalid depth operation.
This commit is contained in:
@ -62,8 +62,12 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
X = (value & Anchor.x2) > 0 ? SIZE_RETRACTED.X * shear * 0.5f : 0;
|
X = (value & Anchor.x2) > 0 ? SIZE_RETRACTED.X * shear * 0.5f : 0;
|
||||||
|
|
||||||
|
Remove(c1);
|
||||||
|
Remove(c2);
|
||||||
c1.Depth = (value & Anchor.x2) > 0 ? 0 : 1;
|
c1.Depth = (value & Anchor.x2) > 0 ? 0 : 1;
|
||||||
c2.Depth = (value & Anchor.x2) > 0 ? 1 : 0;
|
c2.Depth = (value & Anchor.x2) > 0 ? 1 : 0;
|
||||||
|
Add(c1);
|
||||||
|
Add(c2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user