Fixed #1577
This commit is contained in:
parent
2f6bf3e3f2
commit
14096da20a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user