Experiment with icon size

This commit is contained in:
YuSanka 2018-09-10 09:28:37 +02:00
parent b7effbde17
commit a59a84f237

View File

@ -386,6 +386,10 @@ bool PrusaObjectDataViewModelNode::update_settings_digest(const std::vector<std:
bmp = m_bitmap_cache->insert(m_name.ToStdString(), bmps);
}
m_icon.CopyFromBitmap(*bmp);
#ifdef __WXOSX__
m_icon.SetHeight(bmp->GetHeight());
m_icon.SetWidth(bmp->GetWidth());
#endif // __WXOSX__
return true;
}