From 193bfa89c6906782d41c458c6912125c5d124757 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Thu, 27 Feb 2020 10:07:17 +0300 Subject: [PATCH] refactor #1105 --- src/components/galleria/GalleriaThumbnails.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/galleria/GalleriaThumbnails.js b/src/components/galleria/GalleriaThumbnails.js index 0e1d904487..d9f319c12b 100644 --- a/src/components/galleria/GalleriaThumbnails.js +++ b/src/components/galleria/GalleriaThumbnails.js @@ -219,7 +219,7 @@ export class GalleriaThumbnails extends Component { onTouchEnd(e) { let touchobj = e.changedTouches[0]; - if (this.isVertical()) { + if (this.props.isVertical) { this.changePageOnTouch(e, (touchobj.pageY - this.startPos.y)); } else {