[fix] fix typo ImGuiChildFlags_Border to ImGuiChildFlags_Borders

This commit is contained in:
dijunkun
2026-03-19 16:16:51 +08:00
parent 8e8a85bae3
commit d017561e54
10 changed files with 22 additions and 19 deletions

View File

@@ -48,7 +48,7 @@ int Render::RemoteWindow() {
ImGui::BeginChild(
"RemoteDesktopWindow_1",
ImVec2(remote_window_width * 0.8f, remote_window_height * 0.43f),
ImGuiChildFlags_Border,
ImGuiChildFlags_Borders,
ImGuiWindowFlags_NoDecoration | ImGuiWindowFlags_NoMove |
ImGuiWindowFlags_NoBringToFrontOnFocus);
ImGui::PopStyleVar();
@@ -270,4 +270,4 @@ int Render::ConnectTo(const std::string& remote_id, const char* password,
return 0;
}
} // namespace crossdesk
} // namespace crossdesk