[ui]: Adjust size and position in some cases

This commit is contained in:
fanlumaster committed 2025-09-17 17:18:40 +08:00
1 parent 184ee67e70
commit 9849b09cd5
4 files changed
+52 -107

No files matched your search

+7
View File
@@ -10,6 +10,13 @@ FLOAT GetWindowScale(HWND hwnd)
return scale;
}
FLOAT GetForegroundWindowScale()
{
HWND hwnd = GetForegroundWindow();
FLOAT scale = GetWindowScale(hwnd);
return scale;
}
//+---------------------------------------------------------------------------
//
// GetMonitorCoordinates