Skip to content

Commit

Permalink
minor layout tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Jul 19, 2023
1 parent 324da65 commit 4defd5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Gui/AlienImGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ bool AlienImGui::ShowPreviewDescription(PreviewDescription const& desc, float& z

//zoom buttons
ImGui::SetCursorPos({ImGui::GetScrollX() + scale(10), ImGui::GetScrollY() + windowSize.y - scale(40)});
if (ImGui::BeginChild("##buttons", ImVec2(100, 30), false)) {
if (ImGui::BeginChild("##buttons", ImVec2(scale(100), scale(30)), false)) {
ImGui::SetCursorPos({0, 0});
ImGui::PushStyleColor(ImGuiCol_Button, color);
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, color);
Expand Down

0 comments on commit 4defd5a

Please sign in to comment.