Skip to content

Commit

Permalink
disable hyperextensible and tapToClose on sidebar snap
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Oct 27, 2020
1 parent 8676882 commit 4e1e4ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ export const initCore = () => {
const snapper = new Snap({
element: document.getElementById('app-content'),
disable: 'right',
hyperextensible: false,
tapToClose: false,
maxPosition: 300, // $navigation-width
minDragDistance: 100,
})
Expand Down

0 comments on commit 4e1e4ef

Please sign in to comment.