make poster text reliant on available space, not the image

This commit is contained in:
Nick Bisby 2019-05-09 23:49:34 -05:00
parent 11f8fd248a
commit f8a64df489
No known key found for this signature in database
GPG Key ID: F6E0C4E6D0B5EB36

View File

@ -34,7 +34,7 @@ sub updateSize()
' Always reserve the bottom for the Poster Title
m.title.wrap = true
m.title.maxLines = 2
m.title.width = m.poster.width
m.title.width = maxSize[0]
m.title.height = 80
m.title.translation = [0, int(maxSize[1]) - m.title.height]