SecondHalfGames/yakui

Text boxes are too tall

Ralith opened this issue · 3 comments

Ralith commented

e.g. the textbox example is consistently more than two lines tall, even when updated or initialized with one line of text or the empty string. A similar effect is visible in a column layout.

Ralith commented

The cursor is also too tall; see e.g.:
image

Ralith commented

Here's the same textbox initialized with three lines, with the cursor on the top line:

image

Found to be caused by scale factor not being part of some of the cursor math.

Fixed in cb45454.