|
if (string.length > lineLength * maxLines) { |
This is ok but really needs work. Truncation should take into account the subtitle rather than just drawing the title as much as possible
Maybe some sensible limits should be imposed and tested for at build time?
website/util/drawingHelpers.js
Line 61 in f580ddf
This is ok but really needs work. Truncation should take into account the subtitle rather than just drawing the title as much as possible
Maybe some sensible limits should be imposed and tested for at build time?