Skip to content

Commit

Permalink
refactor: adjust osc_height_offset to work with new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Samillion authored Jan 8, 2025
1 parent ccbc023 commit c988baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modernz.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ layouts["modern"] = function ()
not user_opts.show_chapter_title

local chapter_index = user_opts.show_chapter_title and mp.get_property_number("chapter", -1) >= 0
local osc_height_offset = (no_title and 30 or 0) + ((no_chapter or not chapter_index) and 15 or 0)
local osc_height_offset = (no_title and 25 or 0) + ((no_chapter or not chapter_index) and 10 or 0)

local osc_geo = {
w = osc_param.playresx,
Expand Down

0 comments on commit c988baa

Please sign in to comment.