diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-08 08:04:48 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-06-08 08:04:48 +0200 |
commit | 63edd105d758a39b856f9099b339de30895df8ac (patch) | |
tree | 8c5d0bc4c3aa63e29391291cc7f1e8dca1f5da7c /editor/app.hpp | |
parent | a0b3c0b64b44536bb073677eac57bdc737dd4e9b (diff) |
inspect: simplify getting object unique id for imgui
Diffstat (limited to 'editor/app.hpp')
-rw-r--r-- | editor/app.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/app.hpp b/editor/app.hpp index 4476fb91..aecd495b 100644 --- a/editor/app.hpp +++ b/editor/app.hpp @@ -138,7 +138,7 @@ private: void draw_editor_pane(float main_menu_height); void draw_inspector(); - static void entity_inspector_name(char* buf, size_t len, object_id id); + static void entity_inspector_name(char(&buf)[10], object_id id); static void entity_friendly_name(char* buf, size_t len, const object& obj); bool check_inspector_exists(const popup_target& p); void set_cursor_from_imgui(); |