weizhenye / ASS

A lightweight JavaScript ASS subtitle renderer
https://ass.js.org
MIT License
535 stars 79 forks source link

fix: apply margins before measuring dialogue div #42

Closed qtoden closed 5 months ago

qtoden commented 1 year ago

Refs: #41

@weizhenye, this is my suggestion to fix #41, but maybe you know better where this logic should be applied.

weizhenye commented 5 months ago

This solution will break dialogues with \q2, I refactored it.