FIX:fixed the crash caused by scaling screen on windows

Change-Id: I50aa57eb67e3f671f4e894cfaef3da5bcb88efca
This commit is contained in:
tao wang 2022-11-23 08:49:04 +08:00 committed by Lane.Wei
parent 8f498c7665
commit 1ae4a74687
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ wxStaticText *AMSSetting::append_text(wxString text)
void AMSSetting::on_dpi_changed(const wxRect &suggested_rect)
{
m_button_auto_demarcate->SetMinSize(AMS_SETTING_BUTTON_SIZE);
//m_button_auto_demarcate->SetMinSize(AMS_SETTING_BUTTON_SIZE);
}
}} // namespace Slic3r::GUI