Content deleted Content added
Don't error on 3-digit hex colors |
Fix for series that consist with one or two episode. |
||
Line 100:
end
end
local is_singular = num_episodes == 1
-- Basis parameters
timeline = timeline .. "\nImageSize = width:" .. (is_singular and 200 or 'auto') .. " height:"..(args.height or 500).. (is_singular and '' or " barincrement:"..(barwidth+(num_episodes == 2 and 16 or 4))).."\n"
timeline = timeline .. "\nPlotArea = left:50 bottom:50 top:10 right:100\n"
timeline = timeline .. "\nAlignbars = justify\n"
|