mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 08:21:38 +02:00
Use classes instead ids on canvas.
This commit is contained in:
parent
45e63c385f
commit
9db37cfd9b
2 changed files with 10 additions and 4 deletions
|
@ -95,7 +95,7 @@
|
|||
item (first _icons/+external+)
|
||||
]
|
||||
(html
|
||||
[:svg#page-canvas
|
||||
[:svg.page-canvas
|
||||
{:x wb/document-start-x
|
||||
:y wb/document-start-y
|
||||
:ref "canvas"
|
||||
|
@ -105,8 +105,8 @@
|
|||
;; :on-mouse-up cs/on-mouse-up
|
||||
}
|
||||
(background)
|
||||
[:svg#page-layout
|
||||
(shape item)]
|
||||
[:svg.page-layout
|
||||
#_(shape item)]
|
||||
#_(apply vector :svg#page-layout (map shapes/shape->svg raw-shapes))
|
||||
#_(when-let [shape (rum/react drawing)]
|
||||
(shapes/shape->drawing-svg shape))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue