Merge branch 'master' of https://github.com/prusa3d/Slic3r into euler_angles

This commit is contained in:
Enrico Turri 2019-01-11 09:36:03 +01:00
commit b53cde80cd

View File

@ -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;