summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-07-31 15:15:16 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-07-31 15:15:16 -0400
commitf7d860cee74ad3b94e0d15ea157783b7760f6d55 (patch)
treec2d37ae18a4ce1a63da4010516ecc588bfb7903a /editor
parent8dbacba532e05d76325392d85a75906f2de12350 (diff)
pke-ui: detect mouse clicks, other small refactors
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp2
1 files changed, 2 insertions, 0 deletions
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<PKE_UI_BOX_STATE_FLAG_T>(selected_ui_box->state_flags));
+ ImGui::Text("state_mem: %lu", static_cast<PKE_UI_BOX_STATE_FLAG_T>(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() {