Fix focus bug in tiled editor

This commit is contained in:
Garhoogin 2024-11-17 19:30:47 -06:00 committed by GitHub
parent 561e1cace0
commit 720ea964a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1099,6 +1099,7 @@ void TedViewerOnMouseMove(EDITOR_DATA *data, TedData *ted, UINT msg, WPARAM wPar
void TedViewerOnLButtonDown(EDITOR_DATA *data, TedData *ted) {
ted->mouseDown = TRUE;
SetFocus(ted->hWnd);
SetCapture(ted->hWndViewer);
//hit test