Make the PanelView::distance change immediate
This way we can use it from the EdgeHandle without having to stop moving the mouse first. Reviewed by Marco Martin
This commit is contained in:
parent
828edd8b40
commit
da325d037b
@ -312,8 +312,8 @@ void PanelView::setDistance(int dist)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_distance = dist;
|
m_distance = dist;
|
||||||
m_positionPaneltimer.start();
|
|
||||||
emit distanceChanged();
|
emit distanceChanged();
|
||||||
|
positionPanel();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PanelView::setVisibilityMode(PanelView::VisibilityMode mode)
|
void PanelView::setVisibilityMode(PanelView::VisibilityMode mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user