mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
Merge pull request #5337 from penpot/juanfran-fix-typo-keepaspectratio
🐛 Fix typo in keepAspectRatio #9336
This commit is contained in:
commit
fa8665df88
2 changed files with 3 additions and 3 deletions
|
@ -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}]
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue