Merge branch 'master' of https://github.com/prusa3d/Slic3r into euler_angles
This commit is contained in:
commit
b53cde80cd
1 changed files with 4 additions and 0 deletions
|
@ -2092,6 +2092,8 @@ void PrusaDoubleSlider::OnMotion(wxMouseEvent& event)
|
||||||
|
|
||||||
void PrusaDoubleSlider::OnLeftUp(wxMouseEvent& event)
|
void PrusaDoubleSlider::OnLeftUp(wxMouseEvent& event)
|
||||||
{
|
{
|
||||||
|
if (!HasCapture())
|
||||||
|
return;
|
||||||
this->ReleaseMouse();
|
this->ReleaseMouse();
|
||||||
m_is_left_down = false;
|
m_is_left_down = false;
|
||||||
Refresh();
|
Refresh();
|
||||||
|
@ -2230,6 +2232,8 @@ void PrusaDoubleSlider::OnRightDown(wxMouseEvent& event)
|
||||||
|
|
||||||
void PrusaDoubleSlider::OnRightUp(wxMouseEvent& event)
|
void PrusaDoubleSlider::OnRightUp(wxMouseEvent& event)
|
||||||
{
|
{
|
||||||
|
if (!HasCapture())
|
||||||
|
return;
|
||||||
this->ReleaseMouse();
|
this->ReleaseMouse();
|
||||||
m_is_right_down = m_is_one_layer = false;
|
m_is_right_down = m_is_one_layer = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue