[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

@@ -120,7 +120,7 @@ int Render::UpdateNotificationWindow() {
ImGui::BeginChild(
"ScrollableContent",
ImVec2(update_notification_window_width * 0.9f, scrollable_height),
ImGuiChildFlags_Border, ImGuiWindowFlags_None);
ImGuiChildFlags_Borders, ImGuiWindowFlags_None);
ImGui::SetWindowFontScale(0.5f);
// set text wrap position to current available width (accounts for
// scrollbar)
@@ -204,3 +204,4 @@ int Render::UpdateNotificationWindow() {
}
} // namespace crossdesk