0
Fork 0
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:
Alejandro Alonso 2023-06-23 08:56:27 +02:00 committed by Andrey Antukh
parent 921ea61e6c
commit c988d54925

View file

@ -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)