FIX: Refresh the dialog after changing the preset size of the Filament interface

Jira: STUDIO-13998

Change-Id: Ib57db4b9b64d815c3a6731f8a4a99ae2237f4473
(cherry picked from commit 41f3333aacd59788c25034ed4a94461a7b6a8e54)
This commit is contained in:
maosheng.wei 2025-09-02 17:32:23 +08:00 committed by Noisyfox
parent 299b821c5f
commit 94cde0fb3a

View file

@ -692,6 +692,11 @@ CreateFilamentPresetDialog::CreateFilamentPresetDialog(wxWindow *parent)
Layout();
Fit();
this->Bind(wxEVT_SIZE, [this](wxSizeEvent &event) {
this->Refresh();
event.Skip();
});
wxGetApp().UpdateDlgDarkUI(this);
}