[fix] fix control bar display and button postion

This commit is contained in:
dijunkun
2024-07-24 17:10:05 +08:00
parent b9c5db41ab
commit 8f5a53937a
4 changed files with 6 additions and 12 deletions

View File

@@ -46,8 +46,7 @@ int Render::ControlBar() {
}
ImGui::SameLine();
ImGui::Dummy(ImVec2(main_window_width_ * 0.91f, 0));
ImGui::SameLine();
ImGui::SetCursorPosX(main_window_width_ - 35);
}
std::string control_bar =