mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
✨ After review changes
This commit is contained in:
parent
d2b5283489
commit
4f07613154
2 changed files with 1 additions and 10 deletions
|
@ -46,8 +46,7 @@
|
||||||
(drag-stream to-stream (rx/empty)))
|
(drag-stream to-stream (rx/empty)))
|
||||||
|
|
||||||
([to-stream not-drag-stream]
|
([to-stream not-drag-stream]
|
||||||
(let [
|
(let [zoom (get-in @st/state [:workspace-local :zoom] 1)
|
||||||
zoom (get-in @st/state [:workspace-local :zoom] 1)
|
|
||||||
|
|
||||||
start (-> @ms/mouse-position to-pixel-snap)
|
start (-> @ms/mouse-position to-pixel-snap)
|
||||||
mouse-up (->> st/stream
|
mouse-up (->> st/stream
|
||||||
|
|
|
@ -167,11 +167,3 @@
|
||||||
(let [st (str/trim (str/lower search-term))
|
(let [st (str/trim (str/lower search-term))
|
||||||
nm (str/trim (str/lower name))]
|
nm (str/trim (str/lower name))]
|
||||||
(str/includes? nm st))))
|
(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)))
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue