mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 06:26:04 +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)
|
this->Bind(wxEVT_SYS_COLOUR_CHANGED, [this](wxSysColourChangedEvent& event)
|
||||||
{
|
{
|
||||||
update_dark_config();
|
#ifndef __WINDOWS__
|
||||||
on_sys_color_changed();
|
update_dark_config();
|
||||||
event.Skip();
|
on_sys_color_changed();
|
||||||
|
event.Skip();
|
||||||
|
#endif // __WINDOWS__
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (std::is_same<wxDialog, P>::value) {
|
if (std::is_same<wxDialog, P>::value) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user