mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
Merge remote-tracking branch 'origin/main' into staging
This commit is contained in:
commit
5e2a7e76f3
3 changed files with 9 additions and 7 deletions
|
@ -21,6 +21,7 @@
|
|||
|
||||
### :bug: Bugs fixed
|
||||
- Fix orientation artboard preset not working with differently sized artboards [Taiga #3548](https://tree.taiga.io/project/penpot/issue/3548)
|
||||
- Fix background on export arboards [Taiga #1991](https://tree.taiga.io/project/penpot/issue/1991)
|
||||
|
||||
## 1.13.4-beta
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
[promesa.core :as p]))
|
||||
|
||||
(declare create-file)
|
||||
(declare retrieve-team-id)
|
||||
|
||||
;; --- Helpers & Specs
|
||||
|
||||
|
@ -48,8 +49,11 @@
|
|||
(sv/defmethod ::create-file
|
||||
[{:keys [pool] :as cfg} {:keys [profile-id project-id] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(proj/check-edition-permissions! conn profile-id project-id)
|
||||
(create-file conn params)))
|
||||
(let [team-id (retrieve-team-id conn project-id)]
|
||||
(proj/check-edition-permissions! conn profile-id project-id)
|
||||
(with-meta
|
||||
(create-file conn params)
|
||||
{::audit/props {:team-id team-id}}))))
|
||||
|
||||
(defn create-file-role
|
||||
[conn {:keys [file-id profile-id role]}]
|
||||
|
@ -246,7 +250,6 @@
|
|||
|
||||
(declare insert-change)
|
||||
(declare retrieve-lagged-changes)
|
||||
(declare retrieve-team-id)
|
||||
(declare send-notifications)
|
||||
(declare update-file)
|
||||
|
||||
|
|
|
@ -421,7 +421,6 @@
|
|||
[props node svg-data]
|
||||
|
||||
(let [fill (:fill svg-data)
|
||||
hide-fill-on-export (get-meta node :hide-fill-on-export str->bool)
|
||||
fill-color-ref-id (get-meta node :fill-color-ref-id uuid/uuid)
|
||||
fill-color-ref-file (get-meta node :fill-color-ref-file uuid/uuid)
|
||||
meta-fill-color (get-meta node :fill-color)
|
||||
|
@ -455,9 +454,6 @@
|
|||
(assoc :fill-color fill
|
||||
:fill-opacity (-> svg-data (:fill-opacity "1") d/parse-double))
|
||||
|
||||
(some? hide-fill-on-export)
|
||||
(assoc :hide-fill-on-export hide-fill-on-export)
|
||||
|
||||
(some? fill-color-ref-id)
|
||||
(assoc :fill-color-ref-id fill-color-ref-id
|
||||
:fill-color-ref-file fill-color-ref-file))))
|
||||
|
@ -884,6 +880,8 @@
|
|||
(assoc :fills (parse-fills node svg-data))
|
||||
(assoc :strokes (parse-strokes node svg-data))
|
||||
|
||||
(assoc :hide-fill-on-export (get-meta node :hide-fill-on-export str->bool))
|
||||
|
||||
(cond-> (= :svg-raw type)
|
||||
(add-svg-content node))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue