ID:2571125
 
Resolved
Line breaks in statpanels caused text to be measured incorrectly, resulting in text wrapping at a different point than it should have.
BYOND Version:513.1523
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 81.0.4044.129
Applies to:Dream Seeker
Status: Resolved (513.1524)

This issue has been resolved.
Descriptive Problem Summary:
Line breaks are problem

Numbered Steps to Reproduce Problem:
1. use line breaks in a stat panel

Code Snippet (if applicable) to Reproduce Problem:
stat("asdf\n\nasdf")

test case:
https://cdn.discordapp.com/attachments/475024822376595465/ 710320417797177354/byond_test.zip

Expected Results:


Actual Results:


Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?

When does the problem NOT occur?

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:
dont use stat panels

Lummox JR resolved issue with message:
Line breaks in statpanels caused text to be measured incorrectly, resulting in text wrapping at a different point than it should have.