mirror of
https://github.com/Facepunch/sbox-public.git
synced 2025-12-23 22:48:07 -05:00
Mouse.Visibility no longer affects Game.IsMenu (fixes issue where pause menu can't be interacted with in some games) (#3583)
This commit is contained in:
@@ -283,7 +283,7 @@ internal class UISystem
|
||||
bool DoAnyPanelsWantMouseVisible()
|
||||
{
|
||||
if ( Mouse.Visibility == MouseVisibility.Visible ) return true;
|
||||
if ( Mouse.Visibility == MouseVisibility.Hidden ) return false;
|
||||
if ( Mouse.Visibility == MouseVisibility.Hidden && !Game.IsMenu ) return false;
|
||||
|
||||
for ( int i = 0; i < RootPanels.Count; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user