mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
Changed default screen timeout to 3 seconds.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user