fix: adjust timeline layout for time ruler height
Increase gutter-lanes height by 24px to align with the time ruler above the annotation lanes. Update timeline-body-scroll padding to match. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1cdb0de042
commit
e964347e51
1 changed files with 2 additions and 2 deletions
|
|
@ -397,7 +397,7 @@
|
|||
[:div.playhead.timeline-playhead {:ref (fn [n] (reset! playhead-el n))}
|
||||
[:div.playhead-handle]]
|
||||
[:div.timeline-head
|
||||
[:div.gutter-lanes {:style {:height lane-h}}
|
||||
[:div.gutter-lanes {:style {:height (+ lane-h 24)}}
|
||||
[:button.track-toggle {:title (if @tracks-open? "Collapse track names" "Show track names")
|
||||
:on-click #(swap! tracks-open? not)}
|
||||
(if @tracks-open? "<- HIDE" "->")]]
|
||||
|
|
@ -435,7 +435,7 @@
|
|||
[:div.ann-bar-label {:style {:top (* i 18)
|
||||
:left (+ 4 (px lo fps zoom))}} (:name a)])]]]
|
||||
[:div.timeline-body-scroll {:ref (fn [n] (reset! body-scroll-el n))
|
||||
:style {:padding-top lane-h}}
|
||||
:style {:padding-top (+ lane-h 24)}}
|
||||
[:div.gutter-tracks
|
||||
(for [t tracks]
|
||||
^{:key (:id t)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue