mirror of
https://github.com/penpot/penpot.git
synced 2026-03-06 18:21:09 +00:00
✨ After review changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user