mirror of
https://github.com/ksyasuda/mpv-youtube-queue.git
synced 2024-11-22 03:19:54 -08: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
|
||||
}
|
||||
|
||||
mp.options.read_options(options, "mpv-youtube-queue")
|
||||
|
||||
local colors = {
|
||||
error = "676EFF",
|
||||
selected = "F993BD",
|
||||
@ -79,8 +81,6 @@ local style = {
|
||||
transparent .. "}"
|
||||
}
|
||||
|
||||
mp.options.read_options(options, "mpv-youtube-queue")
|
||||
|
||||
local display_limit = options.display_limit
|
||||
local display_offset = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user