Make the workspace canvas bigger and center the drawing layout.

This commit is contained in:
Andrey Antukh 2016-02-15 22:59:08 +02:00
parent 6d8ae401f3
commit 6235e9c86e
3 changed files with 35 additions and 15 deletions

View file

@ -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}