mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Forcing retina ratio to 1.2
This commit is contained in:
parent
e5018234d4
commit
8a7c18a3fa
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ module.exports = function DeviceScreenDirective($document, ScalingService, Vendo
|
||||||
scope.$on('panelsResized', updateBounds)
|
scope.$on('panelsResized', updateBounds)
|
||||||
|
|
||||||
function setDisplayDensity(forRetina) {
|
function setDisplayDensity(forRetina) {
|
||||||
|
// FORCE
|
||||||
|
forRetina = 1.2
|
||||||
return guestDisplayDensity = BrowserInfo.mobile && BrowserInfo.retina ? forRetina : 1
|
return guestDisplayDensity = BrowserInfo.mobile && BrowserInfo.retina ? forRetina : 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue