Skip to content

Commit f85c09e

Browse files
committed
Update InputsHandler.cpp
1 parent db84a89 commit f85c09e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/InputsHandler.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,6 @@ void InputEditorUI::onTouchMoved(CCTouch* touch, geode::Function<void(CCTouch* t
681681

682682
void InputEditorUI::onTouchEnded(CCTouch* touch, geode::Function<void(CCTouch* touch)> next) {
683683
auto fields = m_fields.self();
684-
bool wasPinching = fields->m_isPinching;
685684

686685
if (tinker::utils::getSetting<bool, "pinch-to-zoom">()) {
687686
if (fields->m_touch1 == touch) {
@@ -697,9 +696,7 @@ void InputEditorUI::onTouchEnded(CCTouch* touch, geode::Function<void(CCTouch* t
697696
}
698697
}
699698

700-
if (!wasPinching) {
701-
next(touch);
702-
}
699+
next(touch);
703700
}
704701

705702
void InputEditorUI::onTouchCancelled(CCTouch* touch, geode::Function<void(CCTouch* touch)> next) {

0 commit comments

Comments
 (0)