Commit 4da03b3
RoomWithOutRoof
fix textinput: render full placeholder text
Previously, the placeholder would only display the first character when
Width() was small or unset. This was caused by allocating a rune slice
with size m.Width()+1, which would truncate the placeholder text.
Now we allocate the full placeholder text and display it properly regardless
of the Width() setting.
Fixes #7791 parent 42130e8 commit 4da03b3
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
749 | | - | |
| 748 | + | |
750 | 749 | | |
751 | 750 | | |
752 | 751 | | |
| |||
0 commit comments