britzl / gooey

Defold GUI system
MIT License
150 stars 22 forks source link

Fix for trailing spaces creates issues #75

Closed wistpotion closed 2 years ago

wistpotion commented 2 years ago

Currently the function get_text_width in i input.lua is correcting for an old issue (DEF-1761) which now has been fixed. The result is that whenever you leave a trailing space get_text_width returns a width which is one space too large.