mirror of
https://github.com/penpot/penpot.git
synced 2025-06-08 01:01:37 +02:00
Remove debug println on shapes and canvas.
This commit is contained in:
parent
eb6e0544c7
commit
b6900584f7
1 changed files with 0 additions and 2 deletions
|
@ -130,7 +130,6 @@
|
||||||
[own shape selected]
|
[own shape selected]
|
||||||
(let [{:keys [id x y width height] :as shape} shape
|
(let [{:keys [id x y width height] :as shape} shape
|
||||||
selected? (contains? selected id)]
|
selected? (contains? selected id)]
|
||||||
(println "shape-render" id)
|
|
||||||
(letfn [(on-mouse-down [event]
|
(letfn [(on-mouse-down [event]
|
||||||
(let [local (:rum/local own)]
|
(let [local (:rum/local own)]
|
||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
|
@ -212,7 +211,6 @@
|
||||||
|
|
||||||
(defn- canvas-render
|
(defn- canvas-render
|
||||||
[own {:keys [width height id] :as page}]
|
[own {:keys [width height id] :as page}]
|
||||||
(println "canvas-render" id)
|
|
||||||
(let [workspace (rum/react wb/workspace-state)
|
(let [workspace (rum/react wb/workspace-state)
|
||||||
shapes-by-id (rum/react shapes-by-id)
|
shapes-by-id (rum/react shapes-by-id)
|
||||||
workspace-selected (:selected workspace)
|
workspace-selected (:selected workspace)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue