Implement persistence for the editor window's size (#1336)
Implement persistence for the window size
This commit is contained in:
committed by
GitHub
parent
cf6f3434e4
commit
32fbee5613
@@ -23,7 +23,10 @@ int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
|
||||
case WM_SIZE:
|
||||
case WM_DPICHANGED:
|
||||
if (editor.is_window_active && LOWORD(lParam) > 0 && HIWORD(lParam) > 0)
|
||||
{
|
||||
editor.SetWindow(hWnd);
|
||||
editor.SaveWindowSize();
|
||||
}
|
||||
break;
|
||||
case WM_CHAR:
|
||||
switch (wParam)
|
||||
|
||||
Reference in New Issue
Block a user