themes and styles

This commit is contained in:
IliaDenisov
2026-03-08 15:31:17 +02:00
parent e37a67bc99
commit 1c2fc30127
39 changed files with 2693 additions and 199 deletions
+3 -3
View File
@@ -100,7 +100,7 @@ func correctCameraZoomFp(
//
// currentZoom is the user-facing zoom multiplier in floating-point form.
// The result is returned in the same representation.
func (g *World) CorrectCameraZoom(
func (w *World) CorrectCameraZoom(
currentZoom float64,
viewportWidthPx int,
viewportHeightPx int,
@@ -110,8 +110,8 @@ func (g *World) CorrectCameraZoom(
currentZoomFp,
viewportWidthPx,
viewportHeightPx,
g.W,
g.H,
w.W,
w.H,
MIN_ZOOM,
MAX_ZOOM,
)