Skip to content

Commit 7c837dd

Browse files
committed
Replace isVisible with IsVisibleInTree
1 parent 36dbf24 commit 7c837dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Intersect.Client.Core/MonoGame/Input/MonoInput.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ private void CheckMouseScrollWheel(int scrlVValue, int scrlHValue)
258258

259259
{
260260

261-
if ((InputHandler.HoveredControl == null || !InputHandler.HoveredControl.IsVisible)
261+
if ((InputHandler.HoveredControl == null || !InputHandler.HoveredControl.IsVisibleInTree)
262262
&& Globals.GameState == GameStates.InGame
263263
&& Globals.Database.EnableMouseScrollZoom)
264264
{

0 commit comments

Comments
 (0)