From f7d860cee74ad3b94e0d15ea157783b7760f6d55 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 31 Jul 2025 15:15:16 -0400 Subject: pke-ui: detect mouse clicks, other small refactors --- editor/editor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor') diff --git a/editor/editor.cpp b/editor/editor.cpp index 75bc155..729efcf 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -1280,6 +1280,7 @@ void RecordImGuiUIEdit() { ImGui::EndDisabled(); ImGui::Text("state: %lu", static_cast(selected_ui_box->state_flags)); + ImGui::Text("state_mem: %lu", static_cast(selected_ui_box->state_flags_mem)); ImGui::Separator(); @@ -1929,6 +1930,7 @@ void PkeEditor_Teardown() { if (threadPoolHandle != ThreadPoolHandle_MAX) PkeThreads_Teardown(threadPoolHandle); pk_arr_reset(&entityInstancesToCreate); + pke_input_unregister_set(debugControlsHandle); } void PkeEditor_Init() { -- cgit v1.2.3