diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-23 09:12:13 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-23 09:12:13 +0200 |
commit | fc645fce732e8163c7e1d79cdd405de62e6e95a2 (patch) | |
tree | d81ce65b7630cd1fcc7de8a87770f3cb8216018b /main/imgui.cpp | |
parent | 81a9284fbda7bfefa417a408346ddb2abd26a1e2 (diff) |
foo
Diffstat (limited to 'main/imgui.cpp')
-rw-r--r-- | main/imgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/imgui.cpp b/main/imgui.cpp index ea64cd85..db4f321b 100644 --- a/main/imgui.cpp +++ b/main/imgui.cpp @@ -88,7 +88,7 @@ void app::draw_editor_pane(tile_type& type, float main_menu_height) { ImGui::SetNextWindowPos({0, main_menu_height+style.WindowPadding.y}); ImGui::SetNextFrameWantCaptureKeyboard(false); - ImGui::SetNextWindowSize({440, windowSize()[1] - main_menu_height - style.WindowPadding.y}); + ImGui::SetNextWindowSize({420, windowSize()[1] - main_menu_height - style.WindowPadding.y}); if (const auto flags = ImGuiWindowFlags_(ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoSavedSettings); auto b = begin_window({}, flags)) { @@ -124,7 +124,7 @@ void app::draw_editor_pane(tile_type& type, float main_menu_height) push_style_color(ImGuiCol_ButtonHovered, color_hover), }; const bool perm_selected = ed ? ed->is_permutation_selected(v) : false; - constexpr std::size_t per_row = 5; + constexpr std::size_t per_row = 8; for (std::size_t i = 0; i < N; i++) { const bool selected = ed ? ed->is_tile_selected(v, i) : false; |