From ee76b600416e486de05158f90b3471027ac62dcd Mon Sep 17 00:00:00 2001 From: Anton Afanasyeu Date: Wed, 5 Aug 2026 19:24:12 +0200 Subject: [PATCH] fix(globe3d=11): apply lat factor 0.75 and bump logoBuild globe23 Co-authored-by: Cursor --- assets/hub-globe.js | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/hub-globe.js b/assets/hub-globe.js index 3cddad5..e10fded 100644 --- a/assets/hub-globe.js +++ b/assets/hub-globe.js @@ -956,7 +956,7 @@ function sampleFlatPlateFromHub(mercFlat, hpX, hpY) { function sampleMercFlatFromTex(mercFlat, tex) { const ll = texLonLat(tex); const lon = wrapLon(ll.lon + MERCATOR_LON_CENTER); - const lat = Math.max(-1.52, Math.min(1.52, ll.lat * (1 - CONTINENT_NS_SQUEEZE))); + const lat = Math.max(-1.52, Math.min(1.52, ll.lat * CONTINENT_LAT_FACTOR)); return sampleMercFlat(mercFlat, lon, lat); } diff --git a/index.php b/index.php index 3108ab5..bb80aa8 100644 --- a/index.php +++ b/index.php @@ -187,7 +187,7 @@ function hub_h(string $s): string { var supportsLayout = !!(window.CSS && CSS.supports && CSS.supports('object-fit', 'cover')); var logoEnabled = !!(stage && supportsSvg && supportsLayout); - var logoBuild = '20260704globe22'; + var logoBuild = '20260704globe23'; function hubAsset(rel) { var link = document.querySelector('link[href*="hub.css"]');