diff --git a/CHANGES.md b/CHANGES.md index bba07924fa..1cbc9a5f9b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -33,7 +33,7 @@ - Fix problem with plugins generating code for pages different than current one [Taiga #12312](https://tree.taiga.io/project/penpot/issue/12312) - Fix input confirmation behavior is not uniform [Taiga #12294](https://tree.taiga.io/project/penpot/issue/12294) -## 2.11.0 (Unreleased) +## 2.11.0 ### :boom: Breaking changes & Deprecations @@ -61,10 +61,6 @@ services which use netty internally (redis connection, S3 SDK client). This configuration is not very commonly used so don't expected real impact on any user. -### :rocket: Epics and highlights - -### :heart: Community contributions (Thank you!) - ### :sparkles: New features & Enhancements - New composite token: Typography [Taiga #10200](https://tree.taiga.io/project/penpot/us/10200) @@ -110,6 +106,8 @@ - Fix problem when checking usage with removed teams [Taiga #12442](https://tree.taiga.io/project/penpot/issue/12442) - Fix focus mode persisting across page/file navigation [Taiga #12469](https://tree.taiga.io/project/penpot/issue/12469) - Fix shadow color validation [Github #7705](https://github.com/penpot/penpot/pull/7705) +- Fix exception on selection blend-mode using keyboard [Github #7710](https://github.com/penpot/penpot/pull/7710) +- Fix crash when using decimal (floating-point) values for X/Y or width/height [Taiga #12543](https://tree.taiga.io/project/penpot/issue/12543) ## 2.10.1 diff --git a/frontend/src/app/main/ui/components/select.cljs b/frontend/src/app/main/ui/components/select.cljs index 03e10ff299..d00267078d 100644 --- a/frontend/src/app/main/ui/components/select.cljs +++ b/frontend/src/app/main/ui/components/select.cljs @@ -89,14 +89,14 @@ (let [value (rotate-option-backward options index length)] (swap! state* assoc :current-value value) (when (fn? on-change) - (on-change (dm/str value)))) + (on-change value))) (or (kbd/right-arrow? e) (kbd/down-arrow? e)) (let [value (rotate-option-forward options index)] (swap! state* assoc :current-value value) (when (fn? on-change) - (on-change (dm/str value)))) + (on-change value))) (or (kbd/enter? e) (kbd/space? e)) diff --git a/frontend/src/app/main/ui/static.cljs b/frontend/src/app/main/ui/static.cljs index 2c15fcb4d8..a943f01c91 100644 --- a/frontend/src/app/main/ui/static.cljs +++ b/frontend/src/app/main/ui/static.cljs @@ -12,6 +12,7 @@ [app.common.pprint :as pp] [app.common.uri :as u] [app.common.uuid :as uuid] + [app.config :as cf] [app.main.data.auth :refer [is-authenticated?]] [app.main.data.common :as dcm] [app.main.data.event :as ev] @@ -315,9 +316,10 @@ trace (:app.main.errors/trace data) instance (:app.main.errors/instance data)] (with-out-str - (println "Hint: " (or (:hint data) (ex-message instance) "--")) - (println "Prof ID:" (str (or profile-id "--"))) - (println "Team ID:" (str (or team-id "--"))) + (println "Hint: " (or (:hint data) (ex-message instance) "--")) + (println "Prof ID: " (str (or profile-id "--"))) + (println "Team ID: " (str (or team-id "--"))) + (println "URI: " cf/public-uri) (when-let [file-id (:file-id data)] (println "File ID:" (str file-id))) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs index cdf3c82534..cb1d12c606 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/measures.cljs @@ -301,7 +301,7 @@ (mf/use-fn (mf/deps ids shapes) (fn [value attr] - (if (or (string? value) (int? value)) + (if (or (string? value) (number? value)) (do (st/emit! (udw/trigger-bounding-box-cloaking ids)) (run! #(do-size-change value attr) shapes)) @@ -330,7 +330,7 @@ (mf/use-fn (mf/deps ids) (fn [value attr] - (if (or (string? value) (int? value)) + (if (or (string? value) (number? value)) (do (st/emit! (udw/trigger-bounding-box-cloaking ids)) (run! #(do-position-change %1 value attr) shapes)) @@ -353,7 +353,7 @@ (mf/use-fn (mf/deps ids) (fn [value] - (if (or (string? value) (int? value)) + (if (or (string? value) (number? value)) (do (st/emit! (udw/trigger-bounding-box-cloaking ids)) (run! #(do-rotation-change value) shapes))