Skip to content

Commit

Permalink
💫 Update: Exp - AdaptiveModal
Browse files Browse the repository at this point in the history
Summary: Update experiment/test - `swift-programmatic-modal/AdaptiveModal`.
  • Loading branch information
dominicstop committed Jun 5, 2023
1 parent ec6ad37 commit 9f5ad1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,7 @@ class AdaptiveModalManager {
};

func applyInterpolationToModal(forGesturePoint gesturePoint: CGPoint){
guard let modalView = self.modalView,
let gestureInitialPoint = self.gestureInitialPoint
guard let gestureInitialPoint = self.gestureInitialPoint
else { return };

let modalRect = self.modalFrame!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ enum AdaptiveModalConfigTestPresets: CaseIterable {
modalScaleX: 0.5,
modalScaleY: 1,
modalTranslateX: 1000,
modalTranslateY: 0
modalTranslateY: 1000
)
),
// snap point - 2
Expand Down

0 comments on commit 9f5ad1f

Please sign in to comment.