mirror of
https://github.com/ksyasuda/mpv-youtube-queue.git
synced 2025-07-03 01:03:33 -07:00
fix user options not being read before style configuration
This commit is contained in:
@ -50,6 +50,8 @@ local options = {
|
|||||||
display_limit = 6
|
display_limit = 6
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mp.options.read_options(options, "mpv-youtube-queue")
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
error = "676EFF",
|
error = "676EFF",
|
||||||
selected = "F993BD",
|
selected = "F993BD",
|
||||||
@ -79,8 +81,6 @@ local style = {
|
|||||||
transparent .. "}"
|
transparent .. "}"
|
||||||
}
|
}
|
||||||
|
|
||||||
mp.options.read_options(options, "mpv-youtube-queue")
|
|
||||||
|
|
||||||
local display_limit = options.display_limit
|
local display_limit = options.display_limit
|
||||||
local display_offset = 0
|
local display_offset = 0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user