Skip to content

Commit

Permalink
fix: snap thresholds
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jul 7, 2021
1 parent 488cd77 commit ef5dafe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ function Modal(el, options, container) {

/** define constant **/
this.MARGIN = 5;
this.FULLSCREEN_MARGIN = -20;
this.NO_SNAP = -31;
this.FULLSCREEN_MARGIN = -60;
this.NO_SNAP = -100;
this.SNAP_MARGIN = -10;

this.RIGHT_SCROL = 5;

// if (window.mobilecheck()) {
Expand Down

0 comments on commit ef5dafe

Please sign in to comment.