britzl / gooey

Defold GUI system
MIT License
150 stars 22 forks source link

Fixed input `get_text_width` #76

Closed wistpotion closed 2 years ago

wistpotion commented 2 years ago

before (Before the fix) More characters are removed from the ui text content than actually needs to be for every trailing space added.

after (After the fix) The characters are properly removed when adding trailing spaces.

Fixes #75

britzl commented 2 years ago

Thank you!