summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-15 14:31:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-15 14:31:10 +0100
commit86488931114a5ef94bed0a3c82092c9dc6c2fc32 (patch)
tree95fb376d8eb067c8124b27cd677ccd2bd3af2fca /editor
parent317121940b6692de2bdc84b706e9c7d9de293a7a (diff)
a
Diffstat (limited to 'editor')
-rw-r--r--editor/imgui-inspect.cpp4
1 files 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});