From d87c67d5925a20b103c10e8f98502bb97f09d78a Mon Sep 17 00:00:00 2001
From: N3xoX1 <36610570+N3xoX1@users.noreply.github.com>
Date: Tue, 22 Sep 2026 20:28:06 +0930
Subject: [PATCH] UI: Update the about window to be hidden when created, then
show when done. Also update the thanks text. (#285)
---
lang/english/html/about_dialog.html | 2 +-
src/nxemu/user_interface/about_dialog.cpp | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/lang/english/html/about_dialog.html b/lang/english/html/about_dialog.html
index 95c2425d..c2887de7 100644
--- a/lang/english/html/about_dialog.html
+++ b/lang/english/html/about_dialog.html
@@ -31,7 +31,7 @@
With thanks to
- the yuzu project, Stardust, and NullVector
+ the yuzu project, Fabrice, Alexwpi, Stardust, and NullVector
diff --git a/src/nxemu/user_interface/about_dialog.cpp b/src/nxemu/user_interface/about_dialog.cpp
index bc20593f..62347eb7 100644
--- a/src/nxemu/user_interface/about_dialog.cpp
+++ b/src/nxemu/user_interface/about_dialog.cpp
@@ -25,7 +25,7 @@ void AboutDialog::Display(void * parentWindow)
};
m_window = nullptr;
- if (!m_sciterUI.WindowCreate(parentWindow, "about_dialog.html", 0, 0, WINDOW_WIDTH, 0, SUIW_CHILD, m_window))
+ if (!m_sciterUI.WindowCreate(parentWindow, "about_dialog.html", 0, 0, WINDOW_WIDTH, 0, SUIW_CHILD | SUIW_HIDDEN, m_window))
{
return;
}
@@ -56,6 +56,7 @@ void AboutDialog::Display(void * parentWindow)
m_window->FixMinSize();
m_window->CenterWindow();
+ m_window->Show();
}
void AboutDialog::Close()