Skip to content

Commit

Permalink
fix: disabling chapter indicators now disables chapter tooltips as well
Browse files Browse the repository at this point in the history
resolves #849
  • Loading branch information
tomasklaen committed Feb 20, 2024
1 parent 60dc197 commit 2370cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uosc/elements/Timeline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function Timeline:render()
end

-- Chapter title
if #state.chapters > 0 then
if config.opacity.chapters > 0 and #state.chapters > 0 then
local _, chapter = itable_find(state.chapters, function(c) return hovered_seconds >= c.time end,
#state.chapters, 1)
if chapter and not chapter.is_end_only then
Expand Down

0 comments on commit 2370cb4

Please # to comment.