mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
🐛 Fix black background while drawing a path
This commit is contained in:
parent
08c6e9b702
commit
c809890cfd
1 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
[app.common.math :as mth]
|
||||
[app.main.ui.shapes.path :refer [path-shape]]
|
||||
[app.main.ui.workspace.shapes :as shapes]
|
||||
[app.main.ui.workspace.shapes.path.common :as pc]
|
||||
[app.main.ui.workspace.shapes.path.editor :refer [path-editor]]
|
||||
[rumext.alpha :as mf]))
|
||||
|
||||
|
@ -22,7 +23,8 @@
|
|||
|
||||
[:g.draw-area
|
||||
[:g {:style {:pointer-events "none"}}
|
||||
[:& shapes/shape-wrapper {:shape (gsh/transform-shape shape)}]]
|
||||
[:& shapes/shape-wrapper {:shape (-> (gsh/transform-shape shape)
|
||||
(assoc :fills [{:fill-color pc/white-color :fill-opacity 0}]))}]]
|
||||
|
||||
(case tool
|
||||
:path [:& path-editor {:shape shape :zoom zoom}]
|
||||
|
|
Loading…
Add table
Reference in a new issue