diff --git a/index.html b/index.html
index 18fb0a881..acc02ee76 100644
--- a/index.html
+++ b/index.html
@@ -43,10 +43,12 @@
onResize();
animate();
+
+ glApp.properties.cameraOffsetX = (348 + 10) / window.innerWidth; // 348 is sidebar width with some padding
+
}
function onResize() {
- glApp.properties.cameraOffsetX = (348 + 10) / window.innerWidth; // 348 is sidebar width with some padding
glApp.setSize(window.innerWidth, window.innerHeight);
}