Skip to content

Commit 44f6d9c

Browse files
committed
Fixed ScrollFactor setter.
1 parent a59784c commit 44f6d9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/components/ScrollFactor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var ScrollFactor = {
55

66
setScrollFactor: function (x, y)
77
{
8-
if (x === undefined) { x = y; }
8+
if (y === undefined) { y = x; }
99

1010
this.scrollFactorX = x;
1111
this.scrollFactorY = y;

0 commit comments

Comments
 (0)