mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fixed #1577
This commit is contained in:
1 parent
2f6bf3e3f2
commit
14096da20a
1 file changed
+4
@@ -2092,6 +2092,8 @@ void PrusaDoubleSlider::OnMotion(wxMouseEvent& event)
|
||||
|
||||
void PrusaDoubleSlider::OnLeftUp(wxMouseEvent& event)
|
||||
{
|
||||
if (!HasCapture())
|
||||
return;
|
||||
this->ReleaseMouse();
|
||||
m_is_left_down = false;
|
||||
Refresh();
|
||||
@@ -2230,6 +2232,8 @@ void PrusaDoubleSlider::OnRightDown(wxMouseEvent& event)
|
||||
|
||||
void PrusaDoubleSlider::OnRightUp(wxMouseEvent& event)
|
||||
{
|
||||
if (!HasCapture())
|
||||
return;
|
||||
this->ReleaseMouse();
|
||||
m_is_right_down = m_is_one_layer = false;
|
||||
|
||||
|
||||
Reference in new issue
Block a user