FIX: rescale of camera icons when alter resolution

Change-Id: I45a59e7ec48699bfd249c7bb75cd8b70edaf0687
This commit is contained in:
tao.jin 2022-12-12 16:29:42 +08:00 committed by Lane.Wei
parent db94f39f78
commit ebec542112
3 changed files with 26 additions and 24 deletions

View file

@ -414,7 +414,10 @@ CameraItem::CameraItem(wxWindow *parent, std::string normal, std::string hover)
CameraItem::~CameraItem() {}
void CameraItem::msw_rescale() {}
void CameraItem::msw_rescale() {
m_bitmap_normal.msw_rescale();
m_bitmap_hover.msw_rescale();
}
void CameraItem::on_enter_win(wxMouseEvent &evt)
{