From a00ff7b06fb664ccde7496b0920bb4a6978a4a0c Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 2 Dec 2019 15:04:15 +0100 Subject: [PATCH] Implemented new suggestion from content team: Just HigherThumb is moved to selected position after mouse click on color band --- src/slic3r/GUI/wxExtensions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/wxExtensions.cpp b/src/slic3r/GUI/wxExtensions.cpp index aa0a736ce2..8493138971 100644 --- a/src/slic3r/GUI/wxExtensions.cpp +++ b/src/slic3r/GUI/wxExtensions.cpp @@ -3027,7 +3027,8 @@ void DoubleSlider::OnLeftDown(wxMouseEvent& event) get_value_from_position(pos.x, pos.y); if (mouse_val >= 0) { - if (abs(mouse_val - m_lower_value) < abs(mouse_val - m_higher_value)) { + // if (abs(mouse_val - m_lower_value) < abs(mouse_val - m_higher_value)) { + if ( mouse_val <= m_lower_value ) { SetLowerValue(mouse_val); correct_lower_value(); m_selection = ssLower;