Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add element display and position options #298

Merged
merged 15 commits into from
Jan 10, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: adjust osc_height_offset to work with new defaults
Samillion authored Jan 8, 2025

Verified

This commit was signed with the committer’s verified signature.
Robbepop Robin Freyler
commit c988baad6714155743a59a6f25a2ac3a7bde1d2a
2 changes: 1 addition & 1 deletion modernz.lua
Original file line number Diff line number Diff line change
@@ -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,