mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-14 23:56:07 +09:00
actually working load manual/auto button
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user