itb-community / ITB-ModLoader

A lua-based mod loader for the game Into the Breach
48 stars 18 forks source link

Fix SurfaceFont used by InputField #213

Closed Lemonymous closed 1 year ago

Lemonymous commented 1 year ago

This code had a lot of issues.

Testing was done by enabling extensions EasyEdit and UiInspector. They both use the InputField ui object with decoration, and has a few different fonts between them. Before these fixes, texts show up as a mishmash of fonts and sizes - after they are fixed.