Browse Source

fix: same indent/outdent order for both selection and editor bar

Tienson Qin 2 days ago
parent
commit
f68ab36a81
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/main/mobile/components/selection_toolbar.cljs

+ 5 - 5
src/main/mobile/components/selection_toolbar.cljs

@@ -34,16 +34,16 @@
       :handler (fn []
                  (editor-handler/copy-selection-blocks false)
                  (close!))}
-     {:id "indent"
-      :label "Indent"
-      :system-icon "arrow.right"
-      :handler (fn []
-                 (editor-handler/on-tab :right))}
      {:id "outdent"
       :label "Outdent"
       :system-icon "arrow.left"
       :handler (fn []
                  (editor-handler/on-tab :left))}
+     {:id "indent"
+      :label "Indent"
+      :system-icon "arrow.right"
+      :handler (fn []
+                 (editor-handler/on-tab :right))}
      {:id "delete"
       :label "Delete"
       :system-icon "trash"