Skip to content

Commit

Permalink
fix using swipe up/down turning the picture the wrong way
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnKaijser committed Apr 1, 2013
1 parent 8303b46 commit 0c306c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/input/touch/generic/GenericTouchSwipeDetector.cpp
Expand Up @@ -107,9 +107,9 @@ bool CGenericTouchSwipeDetector::OnTouchMove(unsigned int index, const Pointer &
m_directions &= ~TouchMoveDirectionRight;

if (deltaYmovement > 0.0f)
m_directions &= ~TouchMoveDirectionDown;
else if (deltaYmovement < 0.0f)
m_directions &= ~TouchMoveDirectionUp;
else if (deltaYmovement < 0.0f)
m_directions &= ~TouchMoveDirectionDown;

if (m_directions == TouchMoveDirectionNone)
{
Expand Down

0 comments on commit 0c306c9

Please sign in to comment.