mirror of
https://github.com/Garhoogin/NitroPaint.git
synced 2025-06-18 22:35:31 -04:00
Fix focus bug in tiled editor
This commit is contained in:
parent
561e1cace0
commit
720ea964a8
@ -1099,6 +1099,7 @@ void TedViewerOnMouseMove(EDITOR_DATA *data, TedData *ted, UINT msg, WPARAM wPar
|
|||||||
|
|
||||||
void TedViewerOnLButtonDown(EDITOR_DATA *data, TedData *ted) {
|
void TedViewerOnLButtonDown(EDITOR_DATA *data, TedData *ted) {
|
||||||
ted->mouseDown = TRUE;
|
ted->mouseDown = TRUE;
|
||||||
|
SetFocus(ted->hWnd);
|
||||||
SetCapture(ted->hWndViewer);
|
SetCapture(ted->hWndViewer);
|
||||||
|
|
||||||
//hit test
|
//hit test
|
||||||
|
Loading…
Reference in New Issue
Block a user