UI: Update the about window to be hidden when created, then show when done. Also update the thanks text. (#285)
This commit is contained in:
parent
52994587f0
commit
d87c67d592
|
|
@ -31,7 +31,7 @@
|
|||
<div class="about-credits">
|
||||
<div class="about-credits-title">With thanks to</div>
|
||||
<div class="about-credits-list">
|
||||
the yuzu project, Stardust, and NullVector
|
||||
the yuzu project, Fabrice, Alexwpi, Stardust, and NullVector
|
||||
</div>
|
||||
</div>
|
||||
<div class="about-links">
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue