FIX: the dark mode n3s SVG center is not empty, which will cover the AMS color

jira: [STUDIO-10308]
Change-Id: I67c5bdb753abfe9fa233e427a7b518c2fad4fd01
(cherry picked from commit 0730c4ec51e859f5ba7474c64edfaac657dc69de)
This commit is contained in:
xin.zhang
2025-02-12 09:19:15 +08:00
committed by Noisyfox
parent f3bf34ed0c
commit d999107d49
2 changed files with 16 additions and 19 deletions

View File

@@ -1329,8 +1329,7 @@ void AMSControl::SwitchAms(std::string ams_id)
if (prv->get_nozzle_id() == DEPUTY_NOZZLE_ID) {
m_sizer_prv_left->Layout();
m_panel_prv_left->Fit();
}
else if (prv->get_nozzle_id() == MAIN_NOZZLE_ID){
} else if (prv->get_nozzle_id() == MAIN_NOZZLE_ID) {
m_sizer_prv_right->Layout();
m_panel_prv_right->Fit();
}