logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 60da49f8562b970e514ba4403cac1944229a5768
parent: d1d94216d1534243180e99245232f769542639d3
Author: Sorin Davidoi <sorin.davidoi@gmail.com>
Date:   Sun,  2 Jul 2017 15:55:50 +0200

fix(components/columns_area): Increase delta for swipe detection (#4037)


Diffstat:

Mapp/javascript/mastodon/features/ui/components/columns_area.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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> );