mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix bounds check becoming false when using full area
This commit is contained in:
@ -111,8 +111,8 @@ namespace osu.Game.Overlays.Settings.Sections.Input
|
||||
{
|
||||
Size areaExtent = areaOffset.Value + areaSize.Value;
|
||||
|
||||
bool isWithinBounds = areaExtent.Width < tabletSize.Value.Width
|
||||
&& areaExtent.Height < tabletSize.Value.Height;
|
||||
bool isWithinBounds = areaExtent.Width <= tabletSize.Value.Width
|
||||
&& areaExtent.Height <= tabletSize.Value.Height;
|
||||
|
||||
usableAreaContainer.FadeColour(isWithinBounds ? colour.Blue : colour.RedLight, 100);
|
||||
}
|
||||
|
Reference in New Issue
Block a user