mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
mHoverWatch null check fix
This commit is contained in:
parent
94a5d7e5e9
commit
5af381f538
1 changed files with 2 additions and 2 deletions
|
@ -5623,7 +5623,7 @@ namespace IDE.ui
|
|||
}
|
||||
#endif
|
||||
|
||||
if ((parser != null) && (mIsBeefSource) && (!didShow) && (!mHoverWatch.mIsShown))
|
||||
if ((parser != null) && (mIsBeefSource) && (!didShow) && (mHoverWatch != null) && (!mHoverWatch.mIsShown))
|
||||
ErrorScope:
|
||||
{
|
||||
//TODO: Needed this?
|
||||
|
@ -5692,7 +5692,7 @@ namespace IDE.ui
|
|||
}
|
||||
}
|
||||
if (!hasHoverWatchOpen)
|
||||
mHoverWatch.mOpenMousePos = DarkTooltipManager.sLastRelMousePos;
|
||||
mHoverWatch?.mOpenMousePos = DarkTooltipManager.sLastRelMousePos;
|
||||
}
|
||||
|
||||
// Not used?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue