mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-22 01:51:03 +00:00
all_talks/room_name: fix missing defaults
This commit is contained in:
parent
a07249567f
commit
c83e988a2d
1 changed files with 2 additions and 2 deletions
4
tile.lua
4
tile.lua
|
@ -233,7 +233,7 @@ end
|
||||||
local function view_all_talks(starts, ends, config, x1, y1, x2, y2)
|
local function view_all_talks(starts, ends, config, x1, y1, x2, y2)
|
||||||
local title_size = config.font_size or 70
|
local title_size = config.font_size or 70
|
||||||
local default_color = {helper.parse_rgb(config.color or "#ffffff")}
|
local default_color = {helper.parse_rgb(config.color or "#ffffff")}
|
||||||
local show_speakers = config.all_speakers
|
local show_speakers = config.all_speakers or true
|
||||||
|
|
||||||
local a = anims.Area(x2 - x1, y2 - y1)
|
local a = anims.Area(x2 - x1, y2 - y1)
|
||||||
|
|
||||||
|
@ -337,7 +337,7 @@ end
|
||||||
local function view_room(starts, ends, config, x1, y1, x2, y2)
|
local function view_room(starts, ends, config, x1, y1, x2, y2)
|
||||||
local font_size = config.font_size or 70
|
local font_size = config.font_size or 70
|
||||||
local align = config.room_align or "left"
|
local align = config.room_align or "left"
|
||||||
local animate = config.room_animate
|
local animate = config.room_animate or true
|
||||||
local default_color = {helper.parse_rgb(config.color or "#ffffff")}
|
local default_color = {helper.parse_rgb(config.color or "#ffffff")}
|
||||||
local r,g,b = helper.parse_rgb(config.color or "#ffffff")
|
local r,g,b = helper.parse_rgb(config.color or "#ffffff")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue