Skip to content

Commit

Permalink
Update Tweak.x
Browse files Browse the repository at this point in the history
Attempt to fix incompatibility with tweaks that disables pinch to zoom
  • Loading branch information
therealFoxster committed Nov 15, 2023
1 parent 71ff14e commit a08f9d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tweak.x
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ NSBundle *DEMC_getTweakBundle();
DEMC_activateConstraints();
} else if (snapState == 1) { // Zoomed to fill
isZoomedToFill = YES;
// No need to deactivate constraints as it's already done in -(void)didRecognizePinch:(UIPinchGestureRecognizer *)
DEMC_deactivateConstraints();
}
%orig(snapState);
}
Expand Down Expand Up @@ -276,4 +276,4 @@ NSBundle *DEMC_getTweakBundle() {
bundle = [NSBundle bundleWithPath:ROOT_PATH_NS(@"/Library/Application Support/DontEatMyContent.bundle")];
});
return bundle;
}
}

0 comments on commit a08f9d9

Please sign in to comment.