0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 03:28:25 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Alejandro Alonso 2023-04-11 06:52:35 +02:00
commit 4d8f471eca
4 changed files with 17 additions and 11 deletions

View file

@ -12,6 +12,10 @@
### :heart: Community contributions by (Thank you!) ### :heart: Community contributions by (Thank you!)
## 1.18.2
- Fix problem with frame title rotation
## 1.18.1 ## 1.18.1
### :bug: Bugs fixed ### :bug: Bugs fixed

View file

@ -983,10 +983,12 @@
(defn open-path? (defn open-path?
[shape] [shape]
(let [svg? (contains? shape :svg-attrs)
;; No close subpaths for svgs imported
maybe-close (if svg? identity sp/close-subpaths)]
(and (= :path (:type shape)) (and (= :path (:type shape))
(not (->> shape (not (->> shape
:content :content
(sp/close-subpaths) (maybe-close)
(sp/get-subpaths) (sp/get-subpaths)
(every? sp/is-closed?))))) (every? sp/is-closed?))))))

View file

@ -140,10 +140,10 @@ services:
- PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server - PENPOT_FLAGS=enable-registration enable-login-with-password disable-email-verification enable-smtp enable-prepl-server
## Penpot SECRET KEY. It serves as a master key from which other keys for subsystems ## Penpot SECRET KEY. It serves as a master key from which other keys for subsystems
## (eg http sessions) are derived. ## (eg http sessions, or invitations) are derived.
## ##
## Leave it comment if it is ok for you to have to login again after each backend ## If you leve it commented, all created sessions and invitations will
## restart. ## become invalid on container restart.
## ##
## If you going to uncomment this, we recommend use here a trully randomly generated ## If you going to uncomment this, we recommend use here a trully randomly generated
## 512 bits base64 encoded string. You can generate one with: ## 512 bits base64 encoded string. You can generate one with:

View file

@ -44,7 +44,7 @@
(defn left? (defn left?
[cur cand] [cur cand]
(let [closex? (mth/close? (:x cand) (:x cur))] (let [closex? (mth/close? (:x cand) (:x cur) 0.01)]
(cond (cond
(and closex? (< (:y cand) (:y cur))) cand (and closex? (< (:y cand) (:y cur))) cand
closex? cur closex? cur