commit cfef807bf6e39dc5a5004e795016958b484a073d
parent 9b6ddd46d51c33a6cf48751173e0e8af468bb585
Author: Daniel Barlow <dan@telent.net>
Date: Tue, 12 Nov 2024 21:30:37 +0000
remove some onscreen garbage
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/frontend/src/Main.elm b/frontend/src/Main.elm
@@ -340,18 +340,13 @@ viewDiv model =
[canvasV])
, div [ style "width" (px portalWidth), style "height" "150"]
[ ifTrack model.track cadenceView ]
- , div [] [ text (String.fromInt model.zoom ) ]
- , div [] [ case model.track of
- -- Present tk -> text (String.fromInt (List.length tk))
- _ -> text "dgdfg"
- ]
+ , div [] [ text ("Zoom level " ++ (String.fromInt model.zoom)) ]
, button [ onClick ZoomOut ] [ text "-" ]
, button [ onClick ZoomIn ] [ text "+" ]
, button [ onClick (Scroll 0 -10) ] [ text "^" ]
, button [ onClick (Scroll 0 10) ] [ text "V" ]
, button [ onClick (Scroll -10 0) ] [ text "<" ]
, button [ onClick (Scroll 10 0) ] [ text ">" ]
--- , div [] [ text (Debug.toString (List.length model.track)) ]
]
view : Model -> Browser.Document Msg