mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Null guard
This commit is contained in:
parent
41485f4106
commit
efa9566f88
1 changed files with 2 additions and 0 deletions
|
@ -347,6 +347,8 @@ namespace Beefy.widgets
|
|||
|
||||
public virtual void CaptureMouse()
|
||||
{
|
||||
if (mWidgetWindow == null)
|
||||
return;
|
||||
//Debug.WriteLine("CaptureMouse {0}", this);
|
||||
if (mWidgetWindow.mHasFocus)
|
||||
mWidgetWindow.mCaptureWidget = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue