mirror of
https://github.com/ksyasuda/mpv-youtube-queue.git
synced 2024-10-28 04:44:11 -07:00
fix user options not being read before style configuration
This commit is contained in:
parent
29fc46fd41
commit
4ad1974e64
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user