Describe the bug
When using an embedded script with a terminal record whose font has been changed to "NerdFont" from the default font, resizing of the element does not work. The screenshot below shows the affected code:
When the font is to "NerdFont", the player variable's value is undefined on line 31, which causes an error when trying to add the resize event listener. When the font is set to default, this works properly, so apparently there is an async process that is has not completed and the player is unset when that code to add the event listener runs.
Describe the bug When using an embedded script with a terminal record whose font has been changed to "NerdFont" from the default font, resizing of the element does not work. The screenshot below shows the affected code:
When the font is to "NerdFont", the
player
variable's value isundefined
on line 31, which causes an error when trying to add the resize event listener. When the font is set to default, this works properly, so apparently there is an async process that is has not completed and theplayer
is unset when that code to add the event listener runs.To Reproduce Steps to reproduce the behavior:
Expected behavior The selection of a different font shouldn't prevent resizing the element from working.
Versions:
Additional context n/a