From 14ead247ed02f0ff1e15b3aff58b9f7488e69829 Mon Sep 17 00:00:00 2001 From: RobinLinus Date: Sun, 20 Dec 2020 22:13:22 +0100 Subject: [PATCH] Fix bug in offset --- client/scripts/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/ui.js b/client/scripts/ui.js index 0794c16..88735ab 100644 --- a/client/scripts/ui.js +++ b/client/scripts/ui.js @@ -563,7 +563,7 @@ Events.on('load', () => { c.width = w; c.height = h; let offset = h > 380 ? 100 : 65; - offset = h > 800 ? 116 : h; + offset = h > 800 ? 116 : offset; x0 = w / 2; y0 = h - offset; dw = Math.max(w, h, 1000) / 13;