mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
commit
74f3379b5d
6 changed files with 1544 additions and 1523 deletions
|
@ -27,6 +27,9 @@
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix problem with go back button on error page [Taiga #8887](https://tree.taiga.io/project/penpot/issue/8887)
|
||||||
|
- Fix problem with shadows in text for Safari [Taiga #8770](https://tree.taiga.io/project/penpot/issue/8770)
|
||||||
|
|
||||||
## 2.2.1
|
## 2.2.1
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -26,6 +26,13 @@
|
||||||
(catch :default e
|
(catch :default e
|
||||||
(.error js/console "Error" e))))
|
(.error js/console "Error" e))))
|
||||||
|
|
||||||
|
(defn close-plugin!
|
||||||
|
[{:keys [plugin-id]}]
|
||||||
|
(try
|
||||||
|
(.ɵunloadPlugin ^js ug/global plugin-id)
|
||||||
|
(catch :default e
|
||||||
|
(.error js/console "Error" e))))
|
||||||
|
|
||||||
(defn delay-open-plugin
|
(defn delay-open-plugin
|
||||||
[plugin]
|
[plugin]
|
||||||
(ptk/reify ::delay-open-plugin
|
(ptk/reify ::delay-open-plugin
|
||||||
|
|
|
@ -98,7 +98,11 @@
|
||||||
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))}
|
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))}
|
||||||
(cond-> browser-props
|
(cond-> browser-props
|
||||||
(obj/merge! browser-props)))
|
(obj/merge! browser-props)))
|
||||||
shape (assoc shape :fills (:fills data))
|
shape (-> shape
|
||||||
|
(assoc :fills (:fills data))
|
||||||
|
;; The text elements have the shadow and blur already applied in the
|
||||||
|
;; group parent.
|
||||||
|
(dissoc :shadow :blur))
|
||||||
|
|
||||||
;; Need to create new render-id per text-block
|
;; Need to create new render-id per text-block
|
||||||
render-id (dm/str render-id "-" index)]
|
render-id (dm/str render-id "-" index)]
|
||||||
|
|
|
@ -42,11 +42,10 @@
|
||||||
[:section {:class (stl/css :exception-layout)}
|
[:section {:class (stl/css :exception-layout)}
|
||||||
[:button
|
[:button
|
||||||
{:class (stl/css :exception-header)
|
{:class (stl/css :exception-header)
|
||||||
:on-click rt/nav-root}
|
:on-click on-nav-root}
|
||||||
i/logo-icon
|
i/logo-icon
|
||||||
(when profile-id
|
(when profile-id
|
||||||
(str "< "
|
(str "< " (tr "not-found.no-permission.go-dashboard")))]
|
||||||
(tr "not-found.no-permission.go-dashboard")))]
|
|
||||||
[:div {:class (stl/css :deco-before)} i/logo-error-screen]
|
[:div {:class (stl/css :deco-before)} i/logo-error-screen]
|
||||||
(when-not profile-id
|
(when-not profile-id
|
||||||
[:button {:class (stl/css :login-header)
|
[:button {:class (stl/css :login-header)
|
||||||
|
|
|
@ -141,6 +141,7 @@
|
||||||
(st/emit! (ptk/event ::ev/event {::ev/name "remove-plugin"
|
(st/emit! (ptk/event ::ev/event {::ev/name "remove-plugin"
|
||||||
:name (:name plugin)
|
:name (:name plugin)
|
||||||
:host (:host plugin)}))
|
:host (:host plugin)}))
|
||||||
|
(dp/close-plugin! plugin)
|
||||||
(preg/remove-plugin! plugin)
|
(preg/remove-plugin! plugin)
|
||||||
(reset! plugins-state* (preg/plugins-list)))))]
|
(reset! plugins-state* (preg/plugins-list)))))]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue