mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 16:24:27 +02:00
parent
6284680e30
commit
2e39525782
@ -709,6 +709,7 @@ LRESULT TabBarPlus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPara
|
|||||||
else if (iTabNow != -1 && _currentHoverTabItem != -1 && _currentHoverTabItem != iTabNow) // mouse is being moved from a tab and entering into another tab
|
else if (iTabNow != -1 && _currentHoverTabItem != -1 && _currentHoverTabItem != iTabNow) // mouse is being moved from a tab and entering into another tab
|
||||||
{
|
{
|
||||||
isFromTabToTab = true;
|
isFromTabToTab = true;
|
||||||
|
_whichCloseClickDown = -1;
|
||||||
|
|
||||||
// set current hovered
|
// set current hovered
|
||||||
_currentHoverTabItem = iTabNow;
|
_currentHoverTabItem = iTabNow;
|
||||||
@ -766,6 +767,7 @@ LRESULT TabBarPlus::runProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPara
|
|||||||
InvalidateRect(hwnd, &_currentHoverTabRect, FALSE);
|
InvalidateRect(hwnd, &_currentHoverTabRect, FALSE);
|
||||||
|
|
||||||
_currentHoverTabItem = -1;
|
_currentHoverTabItem = -1;
|
||||||
|
_whichCloseClickDown = -1;
|
||||||
SetRectEmpty(&_currentHoverTabRect);
|
SetRectEmpty(&_currentHoverTabRect);
|
||||||
_isCloseHover = false;
|
_isCloseHover = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user