mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 01:25:51 +08:00
FIX:fixed display disorder in dark mode after account switching
Change-Id: Ie756a2d303bda7258cf7648a8887108babaf2127
This commit is contained in:
parent
fa71bcccdc
commit
e261f8b722
@ -189,9 +189,12 @@ public:
|
||||
|
||||
this->Bind(wxEVT_SYS_COLOUR_CHANGED, [this](wxSysColourChangedEvent& event)
|
||||
{
|
||||
update_dark_config();
|
||||
on_sys_color_changed();
|
||||
event.Skip();
|
||||
#ifndef __WINDOWS__
|
||||
update_dark_config();
|
||||
on_sys_color_changed();
|
||||
event.Skip();
|
||||
#endif // __WINDOWS__
|
||||
|
||||
});
|
||||
|
||||
if (std::is_same<wxDialog, P>::value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user