1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 19:42:01 +02:00

Enable retina image retrieving also for retina desktops.

This commit is contained in:
Gunther Brunner 2014-11-10 21:32:20 +09:00
parent c6d0c9b86f
commit 7b3f1d3da7

View file

@ -61,8 +61,7 @@ module.exports = function DeviceScreenDirective($document, ScalingService,
// FORCE
forRetina = 1.2
guestDisplayDensity =
BrowserInfo.mobile && BrowserInfo.retina ? forRetina : 1
guestDisplayDensity = BrowserInfo.retina ? forRetina : 1
return guestDisplayDensity
}