Skip to content

Commit

Permalink
fix: edge swipe lower base threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
horriblename committed Jan 12, 2024
1 parent 42e4028 commit f223e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gestures/Gestures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ void IGestureManager::addLongPress(const float* sensitivity, const int64_t* dela
}

void IGestureManager::addEdgeSwipeGesture(const float* sensitivity, const int64_t* timeout) {
auto edge = std::make_unique<CMultiAction>(MAX_SWIPE_DISTANCE, sensitivity, timeout);
auto edge = std::make_unique<CMultiAction>(SWIPE_INCORRECT_DRAG_TOLERANCE, sensitivity, timeout);
auto edge_ptr = edge.get();
auto edge_drag_begin = std::make_unique<OnCompleteAction>(std::move(edge), [=, this]() {
auto origin_edges = this->find_swipe_edges(m_sGestureState.get_center().origin);
Expand Down

0 comments on commit f223e6a

Please sign in to comment.