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.
1 parent 7eccfe7 commit 1ee1646Copy full SHA for 1ee1646
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