Description
Describe the bug
Code example, last letter hidden.
To Reproduce
Steps to reproduce the bug:
-
Go to: 1. What Code is Like
https://gdquest.github.io/learn-gdscript/#course/lesson-1-what-code-is-like/lesson.tres -
Scroll down to the code example
-
See the missing letter
n
at the end of line 2:
Vector2(0, 0), # position
This is observed with the Text Size slider dragged to the left (default).
Expected behavior
The last letter on the line should be visible,
or the line should wrap to show the last word on the next line.
The word position
does become wrapped,
when the Text Size slider is dragged to the middle.
Or to the right.
But the last word position
also remains wrapped,
when the Text Size slider is dragged to the left, from the middle or the right.
Reloading the page with the smallest Text Size.
Restores the initial behavior. Now the last letter n
is missing again.
As observed in the first screenshot.
Information about your device (please complete the following information):
- Operating System: Windows 10 21H1
- Browser: Microsoft Edge 96.0.1054.62 (Official build) (64-bit)
Additional context
In this case, it only hides the last letter of a comment.
And the following lessons, might not be hiding any important characters.
But if/when the code examples are refactored/typo fixed, etc.,
then this issue might appear in the future.