From 8961e4d365484b1227e65b1b6b140988daa1ddef Mon Sep 17 00:00:00 2001 From: yukirij Date: Tue, 15 Oct 2024 12:47:57 -0700 Subject: [PATCH] Undo ui scale adjustment for high resolution displays. --- www/js/interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/interface.js b/www/js/interface.js index 3441b28..9840a61 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -127,7 +127,7 @@ const INTERFACE = { hover(event) { let initial_hover = INTERFACE_DATA.hover; - let apothem = INTERFACE_DATA.Render.scale / (window.devicePixelRatio || 1); + let apothem = INTERFACE_DATA.Render.scale; let radius = INTERFACE.Radius * apothem; let halfradius = radius / 2; let grid_offset_x = 1.5 * radius;