File tree Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Expand file tree Collapse file tree 3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 28
28
{:style {:font-family font}}
29
29
" AaBbCc 0123" ]]])
30
30
31
- (defn font-item
32
- [font]
33
- [:> Command/CommandItem
34
- {:on-select #(rf/dispatch [::element.events/set-attr :font-family font])}
35
- [:div.flex.justify-between.items-center.w-full.gap-2
36
- [:div font]
37
- [:div.leading-none.text-muted
38
- {:style {:font-family font}}
39
- " AaBbCc 0123" ]]])
40
-
41
31
(defn suggestions-list
42
32
[font-list]
43
33
[:div.flex.flex-col
Original file line number Diff line number Diff line change 413
413
(defn languages-submenu []
414
414
[{:id :lan-us
415
415
:label " US"
416
- :action [::app.events/set-lang : en-US ]}
416
+ :action [::app.events/set-lang " en-US" ]}
417
417
{:id :lan-gr
418
418
:label " GR"
419
- :action [::app.events/set-lang : el-GR ]}])
419
+ :action [::app.events/set-lang " el-GR" ]}])
420
420
421
421
(defn panel-submenu
422
422
[]
Original file line number Diff line number Diff line change 66
66
:align " end"
67
67
:on-key-down #(.stopPropagation %)
68
68
:on-escape-key-down #(.stopPropagation %)}
69
- (for [item zoom-options]
69
+ (for [item ( zoom-options ) ]
70
70
^{:key (:id item)} [views/dropdown-menu-item item])
71
71
[:> DropdownMenu/Arrow {:class " menu-arrow" }]]]])
72
72
You can’t perform that action at this time.
0 commit comments