Microtouch touch points now work properly in fullscreen/maximized with scaling changes

This commit is contained in:
Cacodemon345
2025-04-12 14:34:36 +06:00
parent f9562ecde0
commit a0f0c42f4a
3 changed files with 86 additions and 4 deletions

View File

@@ -132,6 +132,9 @@ RendererCommon::onResize(int width, int height)
monitors[r_monitor_index].mon_res_x = (double) destination.width();
monitors[r_monitor_index].mon_res_y = (double) destination.height();
destinationF.setRect((double)destination.x() / (double)width, (double)destination.y() / (double)height,
(double)destination.width() / (double)width, (double)destination.height() / (double)height);
}
bool