mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Enable retina image retrieving also for retina desktops.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user