Skip to content

Commit

Permalink
remove custom touch areas for close button, see #610
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Aug 3, 2020
1 parent 426e794 commit b575823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ function Dialog( content, options ) {
// close button options
closeButtonListener: () => this.hide(),
closeButtonColor: 'black', // {Color|null} color for the close button 'X'
closeButtonTouchAreaXDilation: 5,
closeButtonTouchAreaYDilation: 5,
closeButtonTouchAreaXDilation: 0,
closeButtonTouchAreaYDilation: 0,
closeButtonMouseAreaXDilation: 0,
closeButtonMouseAreaYDilation: 0,

Expand Down

0 comments on commit b575823

Please sign in to comment.