Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2021-12-04 11:36:33 +0300
committerbubnikv <bubnikv@gmail.com>2021-12-04 11:37:09 +0300
commit6122f630d4cb8debb28a232d1ee0290f9ba4ceee (patch)
treeb4e61019e5a3e0cb22cb4ecf4bfe79c33eb7e477 /src/slic3r/GUI
parent303de63a90cc9beee13f57ba8e40361ef03743a5 (diff)
Fixing broken scrolling with a touch pad on some Windows laptops.
This issue #2750 is old, it was fixed and broken again. Now it is being fixed differently.
Diffstat (limited to 'src/slic3r/GUI')
-rw-r--r--src/slic3r/GUI/GLCanvas3D.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp
index bcb8501d8..622f5b3e2 100644
--- a/src/slic3r/GUI/GLCanvas3D.cpp
+++ b/src/slic3r/GUI/GLCanvas3D.cpp
@@ -2761,7 +2761,8 @@ void GLCanvas3D::on_mouse_wheel(wxMouseEvent& evt)
// For some reason the Idle event is not being generated after the mouse scroll event in case of scrolling with the two fingers on the touch pad,
// if the event is not allowed to be passed further.
// https://github.com/prusa3d/PrusaSlicer/issues/2750
- evt.Skip();
+ // evt.Skip() used to trigger the needed screen refresh, but it does no more. wxWakeUpIdle() seem to work now.
+ wxWakeUpIdle();
#endif /* __WXMSW__ */
// Performs layers editing updates, if enabled