                    :gap common/gs-12s
                    :class "timing-part-panel"
                    :align :center
-                   :children
-                   [[rc/v-box
-                     :align :center
-                     :width common/gs-81s
-                     :children [[:span "event"] [:span "processing"]]]
-                    [timing-section "total" (:timing/event-total event-processing-time)]
-                    [:span "="]
-                    [timing-section "handler" (:timing/event-handler event-processing-time)]
-                    [:span "+"]
-                    [timing-section "effects" (:timing/event-effects event-processing-time)]
-                    #_[:span "+"]
-                    #_[timing-section "other int." (:timing/event-interceptors event-processing-time)]
-                    [:span "+"]
-                    [timing-section "misc" (:timing/event-misc event-processing-time)]
-
-                    ]]
+                   :children [[rc/v-box
+                               :align :center
+                               :width common/gs-81s
+                               :children [[:span "event"] [:span "processing"]]]
+                              [timing-section "total" (:timing/event-total event-processing-time)]
+                              [:span "="]
+                              [timing-section "handler" (:timing/event-handler event-processing-time)]
+                              [:span "+"]
+                              [timing-section "effects" (:timing/event-effects event-processing-time)]
+                              #_[:span "+"]
+                              #_[timing-section "other int." (:timing/event-interceptors event-processing-time)]
+                              [:span "+"]
+                              [timing-section "misc" (:timing/event-misc event-processing-time)]]]
                   (doall
                     (for [frame (range 1 (inc @(rf/subscribe [:timing/animation-frame-count])))
                           :let [frame-time @(rf/subscribe [:timing/animation-frame-time frame])]]

  (:require [devtools.prefs]
            [devtools.formatters.core]
            [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]
            [day8.re-frame-10x.utils.re-com :as rc]
            [day8.re-frame-10x.common-styles :as common]
            [day8.re-frame-10x.view.components :as components]))

(def timing-styles
  [:#--re-frame-10x--
   [:.timing-details
    {:margin-top common/gs-31s}]
   [:.timing-details--line
    {:margin "1em 0"}]


                            (= time 0) (str "0ms")
                            (< time 0.1) (str "<0.1ms")
                            (< time 1) (str (.toFixed time 1) "ms")
                            (some? time) (str (js/Math.round time) "ms"))]]])

(defn render []
  (let [timing-data-available? @(rf/subscribe [:timing/data-available?])
