This commit is contained in:
Aleix Pol 2023-05-08 00:54:37 +02:00 committed by Aleix Pol Gonzalez
parent 1b7a48de40
commit 4eeadb6a9f

View file

@ -154,6 +154,7 @@ static PinchDirection opposite(PinchDirection direction)
case PinchDirection::Expanding:
return PinchDirection::Contracting;
}
return PinchDirection::Expanding;
}
static SwipeDirection opposite(SwipeDirection direction)
@ -170,6 +171,7 @@ static SwipeDirection opposite(SwipeDirection direction)
case SwipeDirection::Right:
return SwipeDirection::Left;
}
return SwipeDirection::Invalid;
}
std::function<void(qreal progress)> TogglableState::progressCallback()