DoubleSlider: Changed behavior of thumbs. New rule: Only active thumb is moving to the new place.

This commit is contained in:
YuSanka 2020-02-14 16:44:49 +01:00
parent 23732864ab
commit 860571d51d
2 changed files with 19 additions and 18 deletions

View file

@ -272,7 +272,7 @@ protected:
void draw_thumb_text(wxDC& dc, const wxPoint& pos, const SelectedSlider& selection) const;
void update_thumb_rect(const wxCoord& begin_x, const wxCoord& begin_y, const SelectedSlider& selection);
void detect_selected_slider(const wxPoint& pt);
bool detect_selected_slider(const wxPoint& pt);
void correct_lower_value();
void correct_higher_value();
void move_current_thumb(const bool condition);