We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 214548a + 1ee1646 commit 41e6c0dCopy full SHA for 41e6c0d
frameworks/js-bindings/bindings/script/studio/parsers/timelineParser-2.x.js
@@ -766,8 +766,8 @@
766
widget.loadTexture(path, type);
767
});
768
769
- var direction = json["ProgressType"];
770
- widget.setDirection((direction != "Left_To_Right") | 0);
+ var direction = json["ProgressType"] === "Right_To_Left" ? 1 : 0;
+ widget.setDirection(direction);
771
772
var percent = getParam(json["ProgressInfo"], 80);
773
if(percent != null)
0 commit comments