mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
Fixed OnWhile() function for the PrusaDoubleSlider (#1913)
Current behavior: Move selected thumb only. If no one thumb is selected, set selection to the thumb nearest to the current mouse position
This commit is contained in:
parent
a0d5a961bd
commit
c77d15c98b
2 changed files with 16 additions and 21 deletions
|
@ -771,7 +771,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, const bool is_mouse_wheel = false);
|
||||
void detect_selected_slider(const wxPoint& pt);
|
||||
void correct_lower_value();
|
||||
void correct_higher_value();
|
||||
void move_current_thumb(const bool condition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue