DoubleSlider issues (1 & 3 from SPE-686)

+ added icon for "Keyboard shortcuts" dialog
This commit is contained in:
YuSanka 2018-12-19 15:58:01 +01:00
parent 17c2f3d813
commit 4c55f1ce9e
3 changed files with 3 additions and 2 deletions

View file

@ -2043,7 +2043,7 @@ void PrusaDoubleSlider::enter_window(wxMouseEvent& event, const bool enter)
// - value decrease (if wxSL_HORIZONTAL)
void PrusaDoubleSlider::move_current_thumb(const bool condition)
{
m_is_one_layer = wxGetKeyState(WXK_CONTROL);
// m_is_one_layer = wxGetKeyState(WXK_CONTROL);
int delta = condition ? -1 : 1;
if (is_horizontal())
delta *= -1;