diff options
Diffstat (limited to 'source/main.js')
-rw-r--r-- | source/main.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/main.js b/source/main.js index bd9b96e..e6a010f 100644 --- a/source/main.js +++ b/source/main.js @@ -108,11 +108,12 @@ enyo.kind({ create: function () { this.inherited(arguments); - /*if(enyo.platform.firefox) - this.$.verseList.onScroll = "handleScrolling"; */ this.startUp(); - //this.$.mainPanel.setIndexDirect(2); + //improve scrolling performance on Android + if(this.$.verseList.getStrategy().get("kind") === "TranslateScrollStrategy") + this.$.verseList.getStrategy().set("translateOptimized", true); + }, startUp: function () { |