From 66ebed74456f76277597b3b07f3e67cc45388ece Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 16 Jun 2025 09:51:00 -0400 Subject: pke: update FontRender text (editor: for ui-box) --- src/static-ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/static-ui.cpp') diff --git a/src/static-ui.cpp b/src/static-ui.cpp index c6b7108..81e0511 100644 --- a/src/static-ui.cpp +++ b/src/static-ui.cpp @@ -44,6 +44,10 @@ void pke_ui_init() { pke_ui_master.bindings = {}; } +void pke_ui_force_recalc() { + pke_ui_master.should_recalc_ui = true; +} + void pke_ui_init_bindings() { pkvk_buffer_create_data create_data{}; create_data.buffer_byte_length[0] = sizeof(pkeIntrinsicsPlane.vert[0]) * 4; -- cgit v1.2.3