From cfef807bf6e39dc5a5004e795016958b484a073d Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 12 Nov 2024 21:30:37 +0000 Subject: [PATCH] remove some onscreen garbage --- frontend/src/Main.elm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/Main.elm b/frontend/src/Main.elm index 8951e01..9e6ff46 100644 --- 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