Undo ui scale adjustment for high resolution displays.
This commit is contained in:
parent
383f511fe4
commit
8961e4d365
@ -127,7 +127,7 @@ const INTERFACE = {
|
|||||||
hover(event) {
|
hover(event) {
|
||||||
let initial_hover = INTERFACE_DATA.hover;
|
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 radius = INTERFACE.Radius * apothem;
|
||||||
let halfradius = radius / 2;
|
let halfradius = radius / 2;
|
||||||
let grid_offset_x = 1.5 * radius;
|
let grid_offset_x = 1.5 * radius;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user