diff --git a/src/slic3r/GUI/DoubleSlider.cpp b/src/slic3r/GUI/DoubleSlider.cpp index a90712cd02..ce268e006b 100644 --- a/src/slic3r/GUI/DoubleSlider.cpp +++ b/src/slic3r/GUI/DoubleSlider.cpp @@ -1359,10 +1359,6 @@ void Control::OnMotion(wxMouseEvent& event) m_focus = fiLowerThumb; else if (is_point_in_rect(pos, m_rect_higher_thumb)) 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 { m_focus = fiTick; tick = get_tick_near_point(pos); diff --git a/src/slic3r/GUI/DoubleSlider.hpp b/src/slic3r/GUI/DoubleSlider.hpp index 3eb905923a..56baef6cf2 100644 --- a/src/slic3r/GUI/DoubleSlider.hpp +++ b/src/slic3r/GUI/DoubleSlider.hpp @@ -43,8 +43,6 @@ enum FocusedItem { fiActionIcon, fiLowerThumb, fiHigherThumb, - fiLowerThumbText, - fiHigherThumbText, fiTick }; @@ -373,8 +371,6 @@ private: wxRect m_rect_lower_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_one_layer_icon; wxRect m_rect_revert_icon;