fix: bring back shape rotation

This commit is contained in:
Peng Xiao
2022-08-15 21:57:56 +08:00
parent 7fc649dd08
commit d0ddbf19a2
11 changed files with 101 additions and 101 deletions

View File

@@ -67,7 +67,7 @@
(do (. api selectShapes block-id)
(. api zoomToSelection)))))
nil) [name block-id tln])
(when (and name (not-empty (gobj/get data "currentPageId")))
(when (and (not-empty name) (not-empty (gobj/get data "currentPageId")))
[:div.draw.tldraw.whiteboard.relative.w-full.h-full
{:style {:overscroll-behavior "none"}
:on-blur #(state/set-block-component-editing-mode! false)