mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-28 00:04:25 +02:00
[BUGFIX] - Added call to reset tab drag points.
- After using the tabPopDropMenu and then clicking a new tab the popup menu would _sometimes_ redisplay. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@490 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
15f2fccbbb
commit
327797f5a3
@ -2375,6 +2375,7 @@ BOOL Notepad_plus::notify(SCNotification *notification)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//break;
|
//break;
|
||||||
|
sender->resetDraggingPoint();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -216,6 +216,11 @@ public :
|
|||||||
return _draggingPoint;
|
return _draggingPoint;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void resetDraggingPoint() {
|
||||||
|
_draggingPoint.x = 0;
|
||||||
|
_draggingPoint.y = 0;
|
||||||
|
};
|
||||||
|
|
||||||
static void doOwnerDrawTab() {
|
static void doOwnerDrawTab() {
|
||||||
::SendMessage(_hwndArray[0], TCM_SETPADDING, 0, MAKELPARAM(6, 0));
|
::SendMessage(_hwndArray[0], TCM_SETPADDING, 0, MAKELPARAM(6, 0));
|
||||||
for (int i = 0 ; i < _nbCtrl ; i++)
|
for (int i = 0 ; i < _nbCtrl ; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user