Skip to content

Commit

Permalink
tweak: chapter indicator sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklaen committed Nov 9, 2023
1 parent 38e68e1 commit 6d329f9
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 @@ -261,7 +261,7 @@ function Timeline:render()
-- Chapters
local hovered_chapter = nil
if (config.opacity.chapters > 0 and (#state.chapters > 0 or state.ab_loop_a or state.ab_loop_b)) then
local diamond_radius = math.min(foreground_size, self.chapter_size)
local diamond_radius = math.min(math.max(1, foreground_size * 0.8), self.chapter_size)
local diamond_radius_hovered = diamond_radius * 2
local diamond_border = options.timeline_border and math.max(options.timeline_border, 1) or 1

Expand Down

0 comments on commit 6d329f9

Please sign in to comment.