3 configurable graphics fixes in ClientSettings (#558)

This commit is contained in:
Pazaz authored and GitHub committed 2023-01-28 20:39:12 +00:00
1 parent afdf369104
commit e517be1bfb
4 files changed
+126 -33

No files matched your search

@@ -16,7 +16,11 @@ public class DrawingArea extends NodeSub {
topY = 0;
bottomX = width;
bottomY = height;
centerX = bottomX - 1;
if (ClientSettings.FULL_512PX_VIEWPORT) {
centerX = bottomX;
} else {
centerX = bottomX - 1;
}
centerY = bottomX / 2;
}
@@ -37,7 +41,11 @@ public class DrawingArea extends NodeSub {
topY = l;
bottomX = k;
bottomY = i;
centerX = bottomX - 1;
if (ClientSettings.FULL_512PX_VIEWPORT) {
centerX = bottomX;
} else {
centerX = bottomX - 1;
}
centerY = bottomX / 2;
anInt1387 = bottomY / 2;
}