forked from MapComplete/MapComplete
UI: fix insets sizes, fix #2490
This commit is contained in:
parent
55bf0fa2f1
commit
6f3bb5b80b
1 changed files with 2 additions and 2 deletions
|
@ -121,8 +121,8 @@ export class AndroidPolyfill {
|
|||
v = JSON.parse(v)
|
||||
}
|
||||
console.log("Got inset sizes:", result)
|
||||
insets.bottom.set(v.bottom)
|
||||
insets.top.set(v.top)
|
||||
insets.bottom.set(v.bottom / window.devicePixelRatio)
|
||||
insets.top.set(v.top / window.devicePixelRatio)
|
||||
})
|
||||
|
||||
return insets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue