FIX: enlarge the scroll rate

jira: [STUDIO-9924]
Change-Id: Ic6cabccf3febc484bdd05b10cb6dfa1b0b78d710
(cherry picked from commit a07b45ba854813a1b776bd5e66130093d605a82b)
This commit is contained in:
xin.zhang
2025-01-17 12:12:57 +08:00
committed by Noisyfox
parent 4742521930
commit 21571e6eba

View File

@@ -1040,7 +1040,7 @@ void PrintingTaskPanel::set_star_count(int star_count)
StatusBasePanel::StatusBasePanel(wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style, const wxString &name)
: wxScrolledWindow(parent, id, pos, size, wxHSCROLL | wxVSCROLL)
{
this->SetScrollRate(5, 5);
this->SetScrollRate(25, 25);
Slic3r::DeviceManager* dev = Slic3r::GUI::wxGetApp().getDeviceManager();
if (!dev) return;
obj = dev->get_selected_machine();