From 86488931114a5ef94bed0a3c82092c9dc6c2fc32 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 15 Mar 2023 14:31:10 +0100 Subject: a --- editor/imgui-inspect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/imgui-inspect.cpp b/editor/imgui-inspect.cpp index 0d1ab6cf..0716b485 100644 --- a/editor/imgui-inspect.cpp +++ b/editor/imgui-inspect.cpp @@ -35,8 +35,8 @@ void app::draw_inspector() local_coords pos = e->coord.local(); auto& c = w[ch]; - char buf[128]; - snformat(buf, "i-{}-{}x{}-{}x{}"_cf, (int)target, ch.x, ch.y, (int)pos.x, (int)pos.y); + char buf[32]; + snformat(buf, "inspector-{:08x}"_cf, s.id); auto b1 = push_id(buf); ImGui::SetNextWindowSize({300*dpi[0], 0}); -- cgit v1.2.3