소스 검색

enhance(mobile): reorder toolbar icons

leizhe 3 년 전
부모
커밋
78ada7fc83
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      src/main/frontend/components/editor.cljs

+ 7 - 7
src/main/frontend/components/editor.cljs

@@ -306,13 +306,6 @@
                          (commands/simple-insert! parent-id "/" {}))}
                          (commands/simple-insert! parent-id "/" {}))}
        (ui/icon "command"
        (ui/icon "command"
                 {:style {:fontSize ui/icon-size}})]]
                 {:style {:fontSize ui/icon-size}})]]
-     [:div
-      [:button.bottom-action
-       {:on-mouse-down (fn [e]
-                         (util/stop e)
-                         (editor-handler/cycle-priority!))}
-       (ui/icon "a-b"
-                {:style {:fontSize ui/icon-size}})]]
      [:div
      [:div
       [:button.bottom-action
       [:button.bottom-action
        {:on-mouse-down (fn [e]
        {:on-mouse-down (fn [e]
@@ -325,6 +318,13 @@
                                            (reset! commands/*slash-caret-pos new-pos))}))}
                                            (reset! commands/*slash-caret-pos new-pos))}))}
        (ui/icon "tag"
        (ui/icon "tag"
                 {:style {:fontSize ui/icon-size}})]]
                 {:style {:fontSize ui/icon-size}})]]
+     [:div
+      [:button.bottom-action
+       {:on-mouse-down (fn [e]
+                         (util/stop e)
+                         (editor-handler/cycle-priority!))}
+       (ui/icon "a-b"
+                {:style {:fontSize ui/icon-size}})]]
      [:div
      [:div
       [:button.bottom-action
       [:button.bottom-action
        {:on-mouse-down (fn [e]
        {:on-mouse-down (fn [e]