Merge pull request #86 from arve0/pivot-x-fix-width

Use window.innerWidth instead of body.clientWidth
This commit is contained in:
Yev Vlasenko
2017-09-13 21:35:12 +01:00
committed by GitHub

View File

@@ -332,7 +332,7 @@
}, },
onWindowResize () { onWindowResize () {
this.window.width = document.body.clientWidth this.window.width = window.innerWidth
this.window.height = window.innerHeight this.window.height = window.innerHeight
}, },