early-access version 3330

This commit is contained in:
pineappleEA
2023-01-26 04:27:16 +01:00
parent ebe91be572
commit 53381ff153
7 changed files with 111 additions and 15 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ void QtSoftwareKeyboardDialog::MoveAndResizeWindow(QPoint pos, QSize size) {
QDialog::resize(size);
// High DPI
const float dpi_scale = qApp->screenAt(pos)->logicalDotsPerInch() / 96.0f;
const float dpi_scale = screen()->logicalDotsPerInch() / 96.0f;
RescaleKeyboardElements(size.width(), size.height(), dpi_scale);
}