From 8d165bc7a37ceb6d3c1b7e6d55762b9c60bc2e9c Mon Sep 17 00:00:00 2001 From: Gunther Brunner Date: Wed, 16 Jul 2014 21:10:12 +0900 Subject: [PATCH] Changed default screen timeout to 3 seconds. --- res/app/components/stf/screen/screen-directive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/app/components/stf/screen/screen-directive.js b/res/app/components/stf/screen/screen-directive.js index 8e879677..350ed4d0 100644 --- a/res/app/components/stf/screen/screen-directive.js +++ b/res/app/components/stf/screen/screen-directive.js @@ -7,7 +7,7 @@ module.exports = function DeviceScreenDirective($document, ScalingService, Vendo template: require('./screen.jade'), link: function (scope, element) { var canvas = element.find('canvas')[0] - , imageRender = new FastImageRender(canvas, {render: 'canvas', timeout: 2000}) + , imageRender = new FastImageRender(canvas, {render: 'canvas', timeout: 3000}) , guestDisplayDensity = setDisplayDensity(1.5) , guestDisplayRotation = 0 , finger = element.find('span') @@ -152,7 +152,7 @@ module.exports = function DeviceScreenDirective($document, ScalingService, Vendo if (scope.displayError === 'secure') { scope.control.home() } - $timeout(maybeLoadScreen, 1000) + $timeout(maybeLoadScreen, 3000) } function maybeLoadScreen() {