summaryrefslogtreecommitdiffhomepage
path: root/main/imgui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/imgui.cpp')
-rw-r--r--main/imgui.cpp4
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;