0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00

After review changes

This commit is contained in:
alonso.torres 2022-03-17 14:53:21 +01:00
parent d2b5283489
commit 4f07613154
2 changed files with 1 additions and 10 deletions

View file

@ -46,8 +46,7 @@
(drag-stream to-stream (rx/empty)))
([to-stream not-drag-stream]
(let [
zoom (get-in @st/state [:workspace-local :zoom] 1)
(let [zoom (get-in @st/state [:workspace-local :zoom] 1)
start (-> @ms/mouse-position to-pixel-snap)
mouse-up (->> st/stream

View file

@ -167,11 +167,3 @@
(let [st (str/trim (str/lower search-term))
nm (str/trim (str/lower name))]
(str/includes? nm st))))
(defn tap
"Works like rx/tap but for normal collections"
;; Signature for transducer use
([f]
(map #(do (f %) %)))
([f coll]
(map #(do (f %) %) coll)))