File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
osu.Game/Screens/Play/HUD Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 66using osu . Framework . Graphics ;
77using osu . Framework . Graphics . Colour ;
88using osu . Framework . Graphics . Containers ;
9+ using osu . Framework . Graphics . Primitives ;
910using osu . Framework . Graphics . Shapes ;
1011using osu . Framework . Graphics . Sprites ;
1112using osu . Framework . Input ;
@@ -47,6 +48,12 @@ public partial class PlayerSettingsOverlay : ExpandingContainer
4748 [ Resolved ]
4849 private HUDOverlay ? hudOverlay { get ; set ; }
4950
51+ // Player settings are kept off the edge of the screen.
52+ //
53+ // In edge cases, floating point error could result in the whole control getting masked away
54+ // while collapsed down, so let's avoid that.
55+ protected override bool ComputeIsMaskedAway ( RectangleF maskingBounds ) => false ;
56+
5057 public PlayerSettingsOverlay ( )
5158 : base ( 0 , EXPANDED_WIDTH )
5259 {
You can’t perform that action at this time.
0 commit comments