jMonkeyEngine-Contributions / Lemur

Lemur is a jMonkeyEngine-based UI toolkit.
http://jmonkeyengine-contributions.github.io/Lemur/
BSD 3-Clause "New" or "Revised" License
116 stars 32 forks source link

Fix an bug for wrong cursorposition #61

Closed Aufricer closed 5 years ago

Aufricer commented 5 years ago

The font parameter is used to calculate the visible width of texts. After creation of a textfield it is never changed. If the font is changed this may lead to wrong calculations of text width and things that are based on this calculation (e.g. cursor position, selected areas etc.)