actually working load manual/auto button

This commit is contained in:
minjaesong
2023-06-26 20:18:00 +09:00
parent e5e8028b3f
commit 1ef479124e
4 changed files with 52 additions and 12 deletions

View File

@@ -777,8 +777,8 @@ public class App implements ApplicationListener {
public void resize(int w0, int h0) {
float magn = (float) getConfigDouble("screenmagnifying");
int width = Math.round(w0 / magn);
int height = Math.round(h0 / magn);
int width = (int) Math.floor(w0 / magn);
int height = (int) Math.floor(h0 / magn);
printdbg(this, "Resize called: "+width+","+height);