mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-29 12:55:59 +02:00
Fixed capture issue when cancelling tab drag
This commit is contained in:
parent
39b7309dd5
commit
ba2c63af9a
2 changed files with 11 additions and 2 deletions
|
@ -154,8 +154,8 @@ namespace Beefy.widgets
|
|||
{
|
||||
//mWidgetWindow.mMouseLeftWindowDelegate.Remove(scope => MouseLeftWindow, true);
|
||||
|
||||
if (mSrcDraggingWindow != null)
|
||||
mSrcDraggingWindow.mCaptureWidget = null;
|
||||
if ((mSrcDraggingWindow != null) && (mSrcDraggingWindow.mCaptureWidget != null))
|
||||
mSrcDraggingWindow.ReleaseMouseCaptures();
|
||||
|
||||
mTabbedView.mParentDockingFrame.GetRootDockingFrame().HideDragTarget(this, !mDragHelper.mAborted);
|
||||
if (mNewDraggingWindow != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue