mirror of
https://github.com/penpot/penpot.git
synced 2025-05-14 22:56:40 +02:00
Remove commented code.
This commit is contained in:
parent
54b8db6cfb
commit
d771a9f513
1 changed files with 0 additions and 22 deletions
|
@ -44,25 +44,3 @@
|
|||
[{:keys [vid shape]} [delta ctrl?]]
|
||||
(let [params {:vid vid :delta (assoc delta :lock ctrl?)}]
|
||||
(rs/emit! (uds/update-vertex-position shape params))))
|
||||
|
||||
|
||||
;; (define-once :resize-subscriptions
|
||||
;; (letfn [(init [event]
|
||||
;; (let [payload (:payload event)
|
||||
;; stoper (->> uuc/actions-s
|
||||
;; (rx/map :type)
|
||||
;; (rx/filter #(empty? %))
|
||||
;; (rx/take 1))]
|
||||
;; (as-> uuwb/mouse-delta-s $
|
||||
;; (rx/take-until stoper $)
|
||||
;; (rx/with-latest-from vector uuwb/mouse-ctrl-s $)
|
||||
;; (rx/subscribe $ #(on-value payload %)))))
|
||||
|
||||
;; (on-value [{:keys [vid shape]} [delta ctrl?]]
|
||||
;; (let [params {:vid vid :delta (assoc delta :lock ctrl?)}]
|
||||
;; (rs/emit! (uds/update-vertex-position shape params))))]
|
||||
|
||||
;; (as-> uuc/actions-s $
|
||||
;; (rx/dedupe $)
|
||||
;; (rx/filter #(= (:type %) "ui.shape.resize") $)
|
||||
;; (rx/on-value $ init))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue