Added missed icons for the dark mode.
Fixed typos from the previous commit
This commit is contained in:
parent
180742ccaa
commit
c7ef1feaf0
9 changed files with 61 additions and 8 deletions
src/slic3r/GUI
|
@ -138,7 +138,7 @@ void ObjectDataViewModelNode::update_settings_digest_bitmaps()
|
|||
std::map<std::string, wxBitmap>& categories_icon = Slic3r::GUI::wxGetApp().obj_list()->CATEGORY_ICON;
|
||||
|
||||
std::string scaled_bitmap_name = m_name.ToUTF8().data();
|
||||
scaled_bitmap_name += "-em" + std::to_string(Slic3r::GUI::wxGetApp().em_unit());
|
||||
scaled_bitmap_name += "-em" + std::to_string(wxGetApp().em_unit()) + (wxGetApp().dark_mode() ? "-dm" : "");
|
||||
|
||||
wxBitmap *bmp = m_bitmap_cache->find(scaled_bitmap_name);
|
||||
if (bmp == nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue