Implemented new suggestion from content team:
Just HigherThumb is moved to selected position after mouse click on color band
This commit is contained in:
parent
d182c35248
commit
a00ff7b06f
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue