Skip to content

Commit

Permalink
Minor changes in UI code
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumechereau committed Jan 2, 2024
1 parent 2d6b863 commit 1fe48b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ static void init_ImGui(void)
}
}

static void gui_iter(const inputs_t *inputs);

static void gui_init(void)
{
Expand Down Expand Up @@ -523,6 +522,7 @@ static void gui_iter(const inputs_t *inputs)
// Setup theme.
ImGui::StyleColorsDark();
style.WindowBorderSize = 0;
// style.WindowPadding = ImVec2(0, 0);
style.FrameRounding = 2;
style.ChildRounding = 2;
style.SelectableTextAlign = ImVec2(0.5, 0.5);
Expand Down Expand Up @@ -1516,7 +1516,6 @@ bool gui_panel_header(const char *label)
ImGui::AlignTextToFramePadding();
gui_text(label);
ret = gui_button_right("", ICON_CLOSE);
ImGui::Separator();
gui_pop_id();
return ret;
}
Expand Down

0 comments on commit 1fe48b6

Please sign in to comment.