diff --git a/osu-framework b/osu-framework index 405537bd35..31cf1c4b58 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 405537bd351954878ddc1d2ba53e5d0563528446 +Subproject commit 31cf1c4b58c866d047876b15a95a4cf0115d3105 diff --git a/osu.Game.Modes.Osu/Objects/Drawables/Pieces/NumberPiece.cs b/osu.Game.Modes.Osu/Objects/Drawables/Pieces/NumberPiece.cs index 8d8aadbb60..750f203a8d 100644 --- a/osu.Game.Modes.Osu/Objects/Drawables/Pieces/NumberPiece.cs +++ b/osu.Game.Modes.Osu/Objects/Drawables/Pieces/NumberPiece.cs @@ -29,6 +29,8 @@ namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces { new CircularContainer { + Masking = true, + Origin = Anchor.Centre, EdgeEffect = new EdgeEffect { Type = EdgeEffectType.Glow, diff --git a/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SpinnerDisc.cs b/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SpinnerDisc.cs index 906a3cd7c3..58745dec84 100644 --- a/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SpinnerDisc.cs +++ b/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SpinnerDisc.cs @@ -61,6 +61,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces { Colour = Color4.White, RelativePositionAxes = Axes.Both, + Masking = true, Origin = Anchor.Centre, Size = new Vector2(1 / ScreenSpaceDrawQuad.Width * 2000), Children = new[] diff --git a/osu.Game/Graphics/UserInterface/Nub.cs b/osu.Game/Graphics/UserInterface/Nub.cs index 6f3529b67d..a32e047af9 100644 --- a/osu.Game/Graphics/UserInterface/Nub.cs +++ b/osu.Game/Graphics/UserInterface/Nub.cs @@ -30,6 +30,8 @@ namespace osu.Game.Graphics.UserInterface BorderColour = Color4.White; BorderThickness = border_width; + Masking = true; + Children = new[] { fill = new Box diff --git a/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs b/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs index df48694249..c9d8f936f6 100644 --- a/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs +++ b/osu.Game/Graphics/UserInterface/OsuPasswordTextBox.cs @@ -28,6 +28,8 @@ namespace osu.Game.Graphics.UserInterface circle = new CircularContainer { Anchor = Anchor.Centre, + Origin = Anchor.Centre, + Masking = true, Alpha = 0, RelativeSizeAxes = Axes.Both, Size = new Vector2(0.8f, 0), diff --git a/osu.Game/Overlays/Dialog/PopupDialog.cs b/osu.Game/Overlays/Dialog/PopupDialog.cs index 908dbf8ebc..7936339e0c 100644 --- a/osu.Game/Overlays/Dialog/PopupDialog.cs +++ b/osu.Game/Overlays/Dialog/PopupDialog.cs @@ -193,6 +193,7 @@ namespace osu.Game.Overlays.Dialog { Origin = Anchor.Centre, Anchor = Anchor.Centre, + Masking = true, BorderColour = Color4.White, BorderThickness = 5f, Children = new Drawable[] diff --git a/osu.Game/Screens/Menu/OsuLogo.cs b/osu.Game/Screens/Menu/OsuLogo.cs index 259e98c483..90223616d0 100644 --- a/osu.Game/Screens/Menu/OsuLogo.cs +++ b/osu.Game/Screens/Menu/OsuLogo.cs @@ -91,8 +91,10 @@ namespace osu.Game.Screens.Menu logoContainer = new CircularContainer { Anchor = Anchor.Centre, + Origin = Anchor.Centre, RelativeSizeAxes = Axes.Both, Scale = new Vector2(0.8f), + Masking = true, Children = new Drawable[] { colourAndTriangles = new Container