fix: get rid of duplicate scale events (#5404)

This commit is contained in:
nerix
2024-05-19 11:11:51 +02:00
committed by GitHub
parent 869562263f
commit 8689bdb481
9 changed files with 55 additions and 26 deletions
+2 -2
View File
@@ -397,9 +397,9 @@ void SettingsDialog::refresh()
}
}
void SettingsDialog::scaleChangedEvent(float newDpi)
void SettingsDialog::scaleChangedEvent(float newScale)
{
assert(newDpi == 1.F &&
assert(newScale == 1.F &&
"Scaling is disabled for the settings dialog - its scale should "
"always be 1");