Fix canvas selrect selection.

This commit is contained in:
Andrey Antukh 2016-02-16 20:04:42 +02:00
parent a55d3655cf
commit 674136bcab
6 changed files with 23 additions and 17 deletions

View file

@ -157,8 +157,8 @@
shapes-selected (filter (comp workspace-selected :id) shapes)
shapes-notselected (filter (comp not workspace-selected :id) shapes)]
(html
[:svg.page-canvas {:x wb/document-start-x
:y wb/document-start-y
[:svg.page-canvas {:x wb/canvas-start-x
:y wb/canvas-start-y
:ref (str "canvas" id)
:width width
:height height}