From 1bfb21734d9511a1fca1870818f645c994b0e8a3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 21 Oct 2023 15:27:53 +0200 Subject: . --- editor/tests-private.hpp | 1 + editor/tests.cpp | 2 ++ 2 files changed, 3 insertions(+) (limited to 'editor') diff --git a/editor/tests-private.hpp b/editor/tests-private.hpp index 0300c8a5..0b38b8a5 100644 --- a/editor/tests-private.hpp +++ b/editor/tests-private.hpp @@ -75,6 +75,7 @@ struct tests_data final : tests_data_, tests::variant struct pair { StringView str; size_t index; }; static constexpr inline pair fields[] = { + { "None"_s, 0 }, { "Path"_s, 1 }, }; diff --git a/editor/tests.cpp b/editor/tests.cpp index a7e86a3f..2b3b7ce2 100644 --- a/editor/tests.cpp +++ b/editor/tests.cpp @@ -97,6 +97,8 @@ void app::tests_reset_mode() void app::draw_tests_pane() { + ImGui::SeparatorText("Functional tests"); + constexpr int selectable_flags = ImGuiSelectableFlags_SpanAvailWidth; for (auto [str, i] : tests_data::fields) if (ImGui::Selectable(str.data(), i == tests().index(), selectable_flags)) -- cgit v1.2.3