mirror of
https://github.com/penpot/penpot.git
synced 2025-05-31 20:36:21 +02:00
🔥 Remove unused get-commands fn
This commit is contained in:
parent
61c23877c1
commit
d509b840dc
1 changed files with 0 additions and 6 deletions
|
@ -96,12 +96,6 @@
|
||||||
|
|
||||||
:else nil)))
|
:else nil)))
|
||||||
|
|
||||||
(defn get-commands
|
|
||||||
"Returns the commands involving a point with its indices"
|
|
||||||
[content point]
|
|
||||||
(->> (d/enumerate content)
|
|
||||||
(filterv (fn [[_ segment]] (= (helpers/segment->point segment) point)))))
|
|
||||||
|
|
||||||
(defn get-handler-point
|
(defn get-handler-point
|
||||||
"Given a segment index and prefix, get a handler point"
|
"Given a segment index and prefix, get a handler point"
|
||||||
[content index prefix]
|
[content index prefix]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue