1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Mobile: Reduce side menu edge hit width

Due to this bug:

https://github.com/react-native-community/react-native-side-menu/issues/153

After rotating the device, the edge hit area is too large, more than 50%
of the note in some cases, which makes it difficult to scroll the note
or zoom.
This commit is contained in:
Laurent Cozic 2020-06-08 08:49:24 +01:00
parent 8058d3f728
commit 42544cc63b

View File

@ -720,6 +720,7 @@ class AppComponent extends React.Component {
return (
<SideMenu
menu={sideMenuContent}
edgeHitWidth={5}
menuPosition={menuPosition}
onChange={(isOpen) => this.sideMenu_change(isOpen)}
onSliding={(percent) => {