mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 04:46:11 +02:00
Make the workspace canvas bigger and center the drawing layout.
This commit is contained in:
parent
6d8ae401f3
commit
6235e9c86e
3 changed files with 35 additions and 15 deletions
|
@ -200,8 +200,8 @@
|
|||
(dom/stop-propagation event)
|
||||
(wb/emit-interaction! :nothing))]
|
||||
(html
|
||||
[:svg.viewport {:width wb/viewport-height
|
||||
:height wb/viewport-width
|
||||
[:svg.viewport {:width wb/viewport-width
|
||||
:height wb/viewport-height
|
||||
:class (when drawing? "drawing")
|
||||
:on-mouse-down on-mouse-down
|
||||
:on-mouse-up on-mouse-up}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue