themes and styles
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user