commit aa36f74762c77a7bd988f8a92a46135a0f97baf6 parent e0d395ba9f2d8e2bedde9f604dea8d9d31c961fb Author: Daniel Barlow <dan@telent.net> Date: Thu, 21 Nov 2024 11:34:41 +0000 rename newModel -> updateModel Diffstat:
| M | frontend/src/Main.elm | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/src/Main.elm b/frontend/src/Main.elm @@ -195,9 +195,9 @@ type Msg update : Msg -> Model -> (Model, Cmd Msg) -update msg model = (newModel msg model, Cmd.none) +update msg model = (updateModel msg model, Cmd.none) -newModel msg model = +updateModel msg model = case msg of MapScale y -> { model | zoom = incZoom model.zoom y }