diff --git a/src/Manager/ViewManager.elm b/src/Manager/ViewManager.elm index 4b8bc55786edfdc6a6d58e3d7abce352615bea96..04c05ce1c89384a72943ab2775606d0e1ec523c7 100644 --- a/src/Manager/ViewManager.elm +++ b/src/Manager/ViewManager.elm @@ -30,7 +30,7 @@ viewEditor model = , Html.section [class "section"] [] , viewImage model , case model.httpLoadResult of - Ok s -> text s + Ok s -> text "" Err e -> text ("Could not load shapes: "++(httpErrorToString e)) ] , case (getModalFromState model.state) of diff --git a/src/Util/ShapeManager.elm b/src/Util/ShapeManager.elm index 5fbb2f5daa16fd97201073ccb03e078b8f1f9020..20a06cf882a2d5f930381bd35366f098bf53998c 100644 --- a/src/Util/ShapeManager.elm +++ b/src/Util/ShapeManager.elm @@ -259,7 +259,7 @@ resultDecode jsonString = ), (JD.field ( "ellipse") (JD.map4 - (\a b c d -> Rectangle a b c d) + (\a b c d -> Ellipse a b c d) (JD.field "cx" JD.string) (JD.field "cy" JD.string) (JD.field "rx" JD.string)