mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Changed default screen timeout to 3 seconds.
This commit is contained in:
parent
6a8fb6fa75
commit
8d165bc7a3
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue