From 49320bfc09262cde85b435b8ba8ad109cfe7d786 Mon Sep 17 00:00:00 2001 From: Chihchy Date: Sat, 21 Dec 2024 11:03:25 +0800 Subject: [PATCH 1/2] Fix reading page scroll functionality --- EhPanda/View/Reading/ReadingView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/EhPanda/View/Reading/ReadingView.swift b/EhPanda/View/Reading/ReadingView.swift index 78184ffe..bfc301fb 100644 --- a/EhPanda/View/Reading/ReadingView.swift +++ b/EhPanda/View/Reading/ReadingView.swift @@ -120,7 +120,11 @@ struct ReadingView: View { } .scaleEffect(gestureHandler.scale, anchor: gestureHandler.scaleAnchor) .offset(gestureHandler.offset) - .highPriorityGesture(dragGesture.simultaneously(with: tapGesture)) + .highPriorityGesture( + dragGesture.simultaneously(with: tapGesture), + isEnabled: gestureHandler.scale > 1 + ) + .gesture(tapGesture, isEnabled: gestureHandler.scale == 1) .gesture(magnificationGesture) .ignoresSafeArea() .id(store.databaseLoadingState) From 4c7e9ff4abce3fe5aa55085831abba0bf2044efd Mon Sep 17 00:00:00 2001 From: Chihchy Date: Sat, 21 Dec 2024 11:04:01 +0800 Subject: [PATCH 2/2] Bump version to 2.7.10 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 79d71fc9..c95fb1db 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,7 +6,7 @@ on: types: [closed] env: DEVELOPER_DIR: /Applications/Xcode_16.2.app - APP_VERSION: '2.7.9' + APP_VERSION: '2.7.10' SCHEME_NAME: 'EhPanda' ALTSTORE_JSON_PATH: './AltStore.json' BUILDS_PATH: '/tmp/action-builds'