Count preferences dialog when detecting max UI scale to fit (Fix #740)

This commit is contained in:
2025-05-23 09:11:15 -05:00
parent b7c1089508
commit 1084f26a88
3 changed files with 12 additions and 2 deletions

View File

@@ -445,6 +445,12 @@ void cDialog::recalcRect(){
winRect.right *= get_ui_scale();
winRect.bottom *= get_ui_scale();
// Uncomment if you need to measure any dialogs.
/*
LOG_VALUE(fname);
LOG_VALUE(winRect.right);
LOG_VALUE(winRect.bottom);
*/
}
bool cDialog::initCalled = false;