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 29, 2020
1 parent 7ed11b6 commit adb67a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export const initCore = () => {
const snapper = new Snap({
element: document.getElementById('app-content'),
disable: 'right',
hyperextensible: false,
maxPosition: 300, // $navigation-width
minDragDistance: 100,
})
Expand Down

0 comments on commit adb67a5

Please sign in to comment.