Closed T4rikA closed 2 years ago
how can it be high and not reproducible
Probably related to #1013. The logic that scales the text is extremely primitive right now.
Yes, and it is high because this destroys the created scrollytelling and needs time to fix (go through every sequence, select morph and increase font size). I am not quit sure how it got to 0 and didn't become larger again
Also sometimes textscaling just doesn't work (text areas and labels)
The current implementation allows for the fontSize to become 0 when making the interactive smaller. Once it is 0, it will never become larger again, because the current fontSize is factor in the calculation of the new fontSize. Fixing this is easy, as one does only need to exchange the call to Math.round()
with Math.ceil()
.
However, the scaling is also non-revertible at the moment. E.g. once one reaches a fontSize of 1, reverting the extent will lead to e..g, much larger text.
Fixed with 2f2c6bcc8c4d239a581d2bd561dc30fc67cb155b.
Describe the bug The size of labels became 0 in the user test
To Reproduce Steps to reproduce the behavior: not clear, try zooming the interactive and loading/ unloading it