mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
🐛 Fix hide rulers option not working
This commit is contained in:
parent
921ea61e6c
commit
c988d54925
1 changed files with 2 additions and 2 deletions
|
@ -465,8 +465,8 @@
|
||||||
toggle-flag
|
toggle-flag
|
||||||
(mf/use-fn
|
(mf/use-fn
|
||||||
(fn [event]
|
(fn [event]
|
||||||
(let [flag (-> (dom/get-target event)
|
(let [flag (-> (dom/get-current-target event)
|
||||||
(dom/get-data :flag)
|
(dom/get-data "flag")
|
||||||
(keyword))]
|
(keyword))]
|
||||||
(st/emit!
|
(st/emit!
|
||||||
(-> (dw/toggle-layout-flag flag)
|
(-> (dw/toggle-layout-flag flag)
|
||||||
|
|
Loading…
Reference in a new issue