add mouse/touch handling for slider control with 2 selectors #1677

merged 1 commit into from Nov 1, 2012


None yet

2 participants

pieh commented Oct 26, 2012

Now we can just control lower selector with mouse/touch - this adds logic to guess which selector we want to control (based on distance between touch/mouse click point and lower/upper selectors).

We want to guess selector only when we start dragging or when we do single mouse click. Also when we are dragging selector we need to swap current selector in case we dragged lower selector behind upper selector and vice versa.

@pieh pieh was assigned Oct 26, 2012

Looks good to me.

ghost commented Nov 1, 2012

i'd consider this a bugfix as it's a new feature...

@jmarshallnz jmarshallnz merged commit 8865a12 into xbmc:master Nov 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment