1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

mHoverWatch null check fix

This commit is contained in:
Brian Fiete 2022-05-06 13:07:17 -07:00
parent 94a5d7e5e9
commit 5af381f538

View file

@ -5623,7 +5623,7 @@ namespace IDE.ui
} }
#endif #endif
if ((parser != null) && (mIsBeefSource) && (!didShow) && (!mHoverWatch.mIsShown)) if ((parser != null) && (mIsBeefSource) && (!didShow) && (mHoverWatch != null) && (!mHoverWatch.mIsShown))
ErrorScope: ErrorScope:
{ {
//TODO: Needed this? //TODO: Needed this?
@ -5692,7 +5692,7 @@ namespace IDE.ui
} }
} }
if (!hasHoverWatchOpen) if (!hasHoverWatchOpen)
mHoverWatch.mOpenMousePos = DarkTooltipManager.sLastRelMousePos; mHoverWatch?.mOpenMousePos = DarkTooltipManager.sLastRelMousePos;
} }
// Not used? // Not used?