use orca color for "can't find device" link (#8298)

Co-authored-by: Paul Mineev <paul@mineev.me>
This commit is contained in:
Paul 2025-02-04 20:00:05 -05:00 committed by GitHub
parent 532a2d36b5
commit 8337db208a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -642,6 +642,7 @@ void SelectMachinePopup::update_other_devices()
wxBoxSizer* placeholder_sizer = new wxBoxSizer(wxVERTICAL); wxBoxSizer* placeholder_sizer = new wxBoxSizer(wxVERTICAL);
m_hyperlink = new wxHyperlinkCtrl(m_placeholder_panel, wxID_ANY, _L("Can't find my devices?"), wxT("https://wiki.bambulab.com/en/software/bambu-studio/failed-to-connect-printer"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE); m_hyperlink = new wxHyperlinkCtrl(m_placeholder_panel, wxID_ANY, _L("Can't find my devices?"), wxT("https://wiki.bambulab.com/en/software/bambu-studio/failed-to-connect-printer"), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE);
m_hyperlink->SetNormalColour(StateColor::darkModeColorFor("#009789"));
placeholder_sizer->Add(m_hyperlink, 0, wxALIGN_CENTER | wxALL, 5); placeholder_sizer->Add(m_hyperlink, 0, wxALIGN_CENTER | wxALL, 5);