Skip to content

Commit

Permalink
Add separator to status widget
Browse files Browse the repository at this point in the history
  • Loading branch information
tillvit committed Nov 29, 2024
1 parent 7c09e42 commit d8e62de
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions app/src/gui/widget/StatusWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ export class StatusWidget extends Widget {
this.addTimingEvent
)`Add timing events ${"toggleAddTiming"}`

const line5 = document.createElement("div")
line5.classList.add("playback-separator")
this.timingContainer.appendChild(line5)

this.splitTiming = document.createElement("button")
this.splitTiming.tabIndex = -1
const splitTimingIcon = Icons.getIcon("SPLIT_TIMING", 32)
Expand All @@ -402,7 +406,7 @@ export class StatusWidget extends Widget {

Keybinds.createKeybindTooltip(
this.splitTiming
)`Manage split timing ${"toggleAddTiming"}`
)`Manage split timing ${"toggleAddTiming"}`

this.toggleTimingTracks = document.createElement("button")
this.toggleTimingTracks.tabIndex = -1
Expand Down Expand Up @@ -438,9 +442,9 @@ export class StatusWidget extends Widget {
this.detectSync
)`Detect audio sync ${"detectSync"}`

const line5 = document.createElement("div")
line5.classList.add("playback-separator")
this.timingContainer.appendChild(line5)
const line6 = document.createElement("div")
line6.classList.add("playback-separator")
this.timingContainer.appendChild(line6)

this.offsetCounter = document.createElement("div")
this.offsetCounter.classList.add("playback-counter")
Expand Down

0 comments on commit d8e62de

Please sign in to comment.