diff --git a/CHANGES.md b/CHANGES.md index 7901ad4b2..2b3b7d4a3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -12,6 +12,10 @@ ### :heart: Community contributions by (Thank you!) +## 1.18.2 + +- Fix problem with frame title rotation + ## 1.18.1 ### :bug: Bugs fixed diff --git a/common/src/app/common/geom/shapes/path.cljc b/common/src/app/common/geom/shapes/path.cljc index 830e98e76..bce132b4b 100644 --- a/common/src/app/common/geom/shapes/path.cljc +++ b/common/src/app/common/geom/shapes/path.cljc @@ -983,10 +983,12 @@ (defn open-path? [shape] - - (and (= :path (:type shape)) - (not (->> shape - :content - (sp/close-subpaths) - (sp/get-subpaths) - (every? sp/is-closed?))))) + (let [svg? (contains? shape :svg-attrs) + ;; No close subpaths for svgs imported + maybe-close (if svg? identity sp/close-subpaths)] + (and (= :path (:type shape)) + (not (->> shape + :content + (maybe-close) + (sp/get-subpaths) + (every? sp/is-closed?)))))) diff --git a/docker/images/docker-compose.yaml b/docker/images/docker-compose.yaml index 8b0f671c9..7e85d178c 100644 --- a/docker/images/docker-compose.yaml +++ b/docker/images/docker-compose.yaml @@ -140,10 +140,10 @@ services: - 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 - ## (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 - ## restart. + ## If you leve it commented, all created sessions and invitations will + ## become invalid on container restart. ## ## If you going to uncomment this, we recommend use here a trully randomly generated ## 512 bits base64 encoded string. You can generate one with: diff --git a/frontend/src/app/main/ui/workspace/viewport/utils.cljs b/frontend/src/app/main/ui/workspace/viewport/utils.cljs index 4768e0331..71124b0a1 100644 --- a/frontend/src/app/main/ui/workspace/viewport/utils.cljs +++ b/frontend/src/app/main/ui/workspace/viewport/utils.cljs @@ -44,7 +44,7 @@ (defn left? [cur cand] - (let [closex? (mth/close? (:x cand) (:x cur))] + (let [closex? (mth/close? (:x cand) (:x cur) 0.01)] (cond (and closex? (< (:y cand) (:y cur))) cand closex? cur