From 9b96991f06a11513b524e45d06dab0ebbbd26ea7 Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Sun, 17 Apr 2016 08:37:07 -0400 Subject: allow for forcedresumeDelay to wait for network stack, switch to native scrolling (should improve android perf) Former-commit-id: 4bcb4fa02be69677fd75a2acf84357d8dbfe201c --- www/js/DataModel.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 3633d384..ec2686b4 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -75,6 +75,7 @@ angular.module('zmApp.controllers') 'packeryPositions':'', 'packerySizes':'', 'timelineModalGraphType':'all', + 'resumeDelay':300, }; @@ -451,6 +452,14 @@ angular.module('zmApp.controllers') loginData.timelineModalGraphType = 'all'; } + if (typeof loginData.resumeDelay == 'undefined') + { + zmDebug ("resumeDelay does not exist. Setting to 0"); + loginData.resumeDelay = "0"; + + } + + if (typeof loginData.montageHistoryQuality == 'undefined') { -- cgit v1.2.3