0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 08:11:30 -05:00

Remove debug messages (added in previous commits).

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
Andrey Antukh 2016-02-29 17:55:29 +02:00
parent ffaca0f459
commit cf817d4c8b
2 changed files with 0 additions and 3 deletions

View file

@ -79,12 +79,10 @@
(defn- handlers-render (defn- handlers-render
[own shape] [own shape]
(letfn [(on-mouse-down [vid event] (letfn [(on-mouse-down [vid event]
(println "on-mouse-down" vid)
(dom/stop-propagation event) (dom/stop-propagation event)
(uuc/acquire-action! :resize/shape {:vid vid :shape (:id shape)})) (uuc/acquire-action! :resize/shape {:vid vid :shape (:id shape)}))
(on-mouse-up [vid event] (on-mouse-up [vid event]
(println "on-mouse-up" vid)
(dom/stop-propagation event) (dom/stop-propagation event)
(uuc/release-action! :resize/shape))] (uuc/release-action! :resize/shape))]
(let [{:keys [x y width height]} (ush/outer-rect' shape)] (let [{:keys [x y width height]} (ush/outer-rect' shape)]

View file

@ -20,7 +20,6 @@
(let [payload (:payload event) (let [payload (:payload event)
stoper (->> uuc/actions-s stoper (->> uuc/actions-s
(rx/map :type) (rx/map :type)
(rx/pr-log "kaka:")
(rx/filter #(= :nothing %)) (rx/filter #(= :nothing %))
(rx/take 1))] (rx/take 1))]
(as-> uuwb/mouse-delta-s $ (as-> uuwb/mouse-delta-s $