mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-01 10:45:14 +08:00
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
@ -3027,7 +3027,8 @@ void DoubleSlider::OnLeftDown(wxMouseEvent& event)
|
|||||||
get_value_from_position(pos.x, pos.y);
|
get_value_from_position(pos.x, pos.y);
|
||||||
if (mouse_val >= 0)
|
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);
|
SetLowerValue(mouse_val);
|
||||||
correct_lower_value();
|
correct_lower_value();
|
||||||
m_selection = ssLower;
|
m_selection = ssLower;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user