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' 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)