Skip to content

Commit 800eab8

Browse files
committed
fix: broken pan gestures
1 parent aae1efd commit 800eab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/charting/utils/ViewPortHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ export class ViewPortHandler {
659659
* @return
660660
*/
661661
public hasNoDragOffset() {
662-
return this.mTransOffsetX !== 0 && this.mTransOffsetY !== 0;
662+
return this.mTransOffsetX === 0 && this.mTransOffsetY === 0;
663663
}
664664

665665
/**

0 commit comments

Comments
 (0)