mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-25 07:37:37 +08:00
Removed unused variables in DoubleSlider::Control
This commit is contained in:
parent
cc7dbf8925
commit
740ffc03b4
@ -1359,10 +1359,6 @@ void Control::OnMotion(wxMouseEvent& event)
|
|||||||
m_focus = fiLowerThumb;
|
m_focus = fiLowerThumb;
|
||||||
else if (is_point_in_rect(pos, m_rect_higher_thumb))
|
else if (is_point_in_rect(pos, m_rect_higher_thumb))
|
||||||
m_focus = fiHigherThumb;
|
m_focus = fiHigherThumb;
|
||||||
else if (is_point_in_rect(pos, m_rect_lower_thumb_text))
|
|
||||||
m_focus = fiLowerThumbText;
|
|
||||||
else if (is_point_in_rect(pos, m_rect_higher_thumb_text))
|
|
||||||
m_focus = fiHigherThumbText;
|
|
||||||
else {
|
else {
|
||||||
m_focus = fiTick;
|
m_focus = fiTick;
|
||||||
tick = get_tick_near_point(pos);
|
tick = get_tick_near_point(pos);
|
||||||
|
@ -43,8 +43,6 @@ enum FocusedItem {
|
|||||||
fiActionIcon,
|
fiActionIcon,
|
||||||
fiLowerThumb,
|
fiLowerThumb,
|
||||||
fiHigherThumb,
|
fiHigherThumb,
|
||||||
fiLowerThumbText,
|
|
||||||
fiHigherThumbText,
|
|
||||||
fiTick
|
fiTick
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -373,8 +371,6 @@ private:
|
|||||||
|
|
||||||
wxRect m_rect_lower_thumb;
|
wxRect m_rect_lower_thumb;
|
||||||
wxRect m_rect_higher_thumb;
|
wxRect m_rect_higher_thumb;
|
||||||
mutable wxRect m_rect_lower_thumb_text;
|
|
||||||
mutable wxRect m_rect_higher_thumb_text;
|
|
||||||
wxRect m_rect_tick_action;
|
wxRect m_rect_tick_action;
|
||||||
wxRect m_rect_one_layer_icon;
|
wxRect m_rect_one_layer_icon;
|
||||||
wxRect m_rect_revert_icon;
|
wxRect m_rect_revert_icon;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user