mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-03 03:17:21 +00:00
Pixel analysis of the user's screenshot: worked-cell green measured RGB(57,160,74) against background RGB(16,16,15), which matches alpha≈178 — i.e. the alpha=90 fill painted ~3 times in place. Root cause: at low zoom colRepeats>0 and every turn loop shifted the cell by dLon=turn*360°, but projectionToX() normalizes longitude back into [-180,180), so all turns collapsed onto the SAME screen x and each cell/line/label was painted 2*colRepeats+1 times at one spot. Fix: keep the turn offset as a pixel shift (turn * worldWidthPx) on the x coordinate in ALL turn loops (worked fills at both zooms, vertical lines, horizontal lines, labels). World-repeat copies now land on their true screen positions instead of stacking on top of each other.