From 197bafc14bdfddde2db3f7fc8706091641595177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Sun, 10 Nov 2019 19:22:13 +0100 Subject: Reintroduce slider like behaviour of WOverview This partial reverts commit 7cd7d49d47fd3df638f530eed536f67a64dc3d46. Hotcue click are still instantly applied. Fixing lp1850644 --- src/widget/woverview.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widget/woverview.h') diff --git a/src/widget/woverview.h b/src/widget/woverview.h index 79c0d52d9d..76dbc86fb3 100644 --- a/src/widget/woverview.h +++ b/src/widget/woverview.h @@ -146,7 +146,9 @@ class WOverview : public WWidget, public TrackDropTarget { std::unique_ptr m_pCueMenu; bool m_bShowCueTimes; + // True if slider is dragged. Only used when m_bEventWhileDrag is false int m_iPosSeconds; + bool m_bDrag; // Internal storage of slider position in pixels int m_iPos; -- cgit v1.2.3