diff --git a/frontend/src/app/plugins/format.cljs b/frontend/src/app/plugins/format.cljs index 86a3d0d26..b39f422bc 100644 --- a/frontend/src/app/plugins/format.cljs +++ b/frontend/src/app/plugins/format.cljs @@ -103,7 +103,7 @@ ;; height: number; ;; mtype?: string; ;; id: string; -;; keepApectRatio?: boolean; +;; keepAspectRatio?: boolean; ;; }; (defn format-image [{:keys [name width height mtype id keep-aspect-ratio] :as image}] diff --git a/frontend/src/app/plugins/parser.cljs b/frontend/src/app/plugins/parser.cljs index 8d6137cc1..c58e6f1ea 100644 --- a/frontend/src/app/plugins/parser.cljs +++ b/frontend/src/app/plugins/parser.cljs @@ -66,7 +66,7 @@ ;; height: number; ;; mtype?: string; ;; id: string; -;; keepApectRatio?: boolean; +;; keepAspectRatio?: boolean; ;;} (defn parse-image-data [^js image-data] @@ -77,7 +77,7 @@ :width (obj/get image-data "width") :height (obj/get image-data "height") :mtype (obj/get image-data "mtype") - :keep-aspect-ratio (obj/get image-data "keepApectRatio")}))) + :keep-aspect-ratio (obj/get image-data "keepAspectRatio")}))) ;; export type Gradient = { ;; type: 'linear' | 'radial';