mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 13:23:13 +00:00
fix(components/columns_area): Increase delta for swipe detection (#4037)
This commit is contained in:
parent
d1d94216d1
commit
60da49f856
|
@ -53,7 +53,7 @@ export default class ColumnsArea extends ImmutablePureComponent {
|
||||||
|
|
||||||
if (singleColumn) {
|
if (singleColumn) {
|
||||||
return (
|
return (
|
||||||
<ReactSwipeable onSwipedLeft={this.handleLeftSwipe} onSwipedRight={this.handleRightSwipe} className='columns-area'>
|
<ReactSwipeable onSwipedLeft={this.handleLeftSwipe} onSwipedRight={this.handleRightSwipe} delta={30} className='columns-area'>
|
||||||
{children}
|
{children}
|
||||||
</ReactSwipeable>
|
</ReactSwipeable>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue