mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 18:21:37 +02:00
✨ Minor refactor on shapes and canvas rendering on viewport.
This commit is contained in:
parent
163e102bcf
commit
ddaf6bfc92
5 changed files with 111 additions and 130 deletions
|
@ -29,7 +29,7 @@
|
|||
[uxbox.main.ui.workspace.scroll :as scroll]
|
||||
[uxbox.main.ui.workspace.shortcuts :as shortcuts]
|
||||
[uxbox.main.ui.workspace.sidebar :refer [left-sidebar right-sidebar]]
|
||||
[uxbox.main.ui.workspace.sidebar.history :refer [history-dialog]]
|
||||
;; [uxbox.main.ui.workspace.sidebar.history :refer [history-dialog]]
|
||||
[uxbox.main.ui.workspace.streams :as uws]
|
||||
[uxbox.util.data :refer [classnames]]
|
||||
[uxbox.util.dom :as dom]
|
||||
|
@ -99,7 +99,7 @@
|
|||
:on-scroll on-scroll
|
||||
:on-wheel #(on-wheel % canvas)}
|
||||
|
||||
(history-dialog)
|
||||
;; (history-dialog)
|
||||
|
||||
;; Rules
|
||||
(when (contains? flags :rules)
|
||||
|
@ -128,8 +128,6 @@
|
|||
{:deps #js [project-id page-id]
|
||||
:fn #(st/emit! (dw/initialize project-id page-id))})
|
||||
|
||||
;; (prn "workspace-page.render" (:id page) props)
|
||||
|
||||
[:> rdnd/provider {:backend rdnd/html5}
|
||||
(when page
|
||||
[:& workspace {:page page}])]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue