mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-24 19:11:05 +00:00
whoops
This commit is contained in:
parent
9abf4b3a44
commit
3dff4cb230
1 changed files with 4 additions and 4 deletions
8
tile.lua
8
tile.lua
|
@ -187,9 +187,9 @@ local function view_next_talk(starts, ends, config, x1, y1, x2, y2)
|
||||||
title = title .. " (" .. current_talk.locale .. ")"
|
title = title .. " (" .. current_talk.locale .. ")"
|
||||||
end
|
end
|
||||||
|
|
||||||
local lines = wrap(title, font_title, title_size, a.width - col2)
|
local lines = wrap(title, font_talk, title_size, a.width - col2)
|
||||||
for idx = 1, math.min(5, #lines) do
|
for idx = 1, math.min(5, #lines) do
|
||||||
text(font_title, col2, y, lines[idx], title_size, rgba(default_color,1))
|
text(font_talk, col2, y, lines[idx], title_size, rgba(default_color,1))
|
||||||
y = y + title_size
|
y = y + title_size
|
||||||
end
|
end
|
||||||
y = y + 20
|
y = y + 20
|
||||||
|
@ -277,7 +277,7 @@ local function view_all_talks(starts, ends, config, x1, y1, x2, y2)
|
||||||
|
|
||||||
local title_lines = wrap(
|
local title_lines = wrap(
|
||||||
title,
|
title,
|
||||||
font_title, title_size, a.width - col2
|
font_talk, title_size, a.width - col2
|
||||||
)
|
)
|
||||||
|
|
||||||
local info_line = talk.room
|
local info_line = talk.room
|
||||||
|
@ -326,7 +326,7 @@ local function view_all_talks(starts, ends, config, x1, y1, x2, y2)
|
||||||
|
|
||||||
-- title
|
-- title
|
||||||
for idx = 1, #title_lines do
|
for idx = 1, #title_lines do
|
||||||
text(font_title, col2, y, title_lines[idx], title_size, rgba(default_color,1))
|
text(font_talk, col2, y, title_lines[idx], title_size, rgba(default_color,1))
|
||||||
y = y + title_size
|
y = y + title_size
|
||||||
end
|
end
|
||||||
y = y + 3
|
y = y + 3
|
||||||
|
|
Loading…
Reference in a new issue