about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorSorin Davidoi <sorin.davidoi@gmail.com>2017-07-02 15:55:50 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-07-02 15:55:50 +0200
commit60da49f8562b970e514ba4403cac1944229a5768 (patch)
treed5871f5ecebe0f55fd76b3bd01a0949d5b5887a5 /app
parentd1d94216d1534243180e99245232f769542639d3 (diff)
fix(components/columns_area): Increase delta for swipe detection (#4037)
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/features/ui/components/columns_area.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/columns_area.js b/app/javascript/mastodon/features/ui/components/columns_area.js
index 3c3e9425d..01167b6e5 100644
--- a/app/javascript/mastodon/features/ui/components/columns_area.js
+++ b/app/javascript/mastodon/features/ui/components/columns_area.js
@@ -53,7 +53,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
 
     if (singleColumn) {
       return (
-        <ReactSwipeable onSwipedLeft={this.handleLeftSwipe} onSwipedRight={this.handleRightSwipe} className='columns-area'>
+        <ReactSwipeable onSwipedLeft={this.handleLeftSwipe} onSwipedRight={this.handleRightSwipe} delta={30} className='columns-area'>
           {children}
         </ReactSwipeable>
       );