Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Commit 8fbad04

Browse files
author
Avaer Kazmer
committed
Remove uiFrame resize handling
1 parent e539ffe commit 8fbad04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,15 +907,15 @@
907907
uiIframe.inline = false;
908908
uiIframe.src = 'ui/build/index.html';
909909
uiIframe.onload = () => {
910-
uiIframe.contentWindow.addEventListener('resize', e => {
910+
/* uiIframe.contentWindow.addEventListener('resize', e => {
911911
const {x, y, width, height} = e;
912912
913913
// console.log('got resize', {x, y, width, height});
914914
915915
const sceneCanvas = renderer.domElement;
916916
sceneCanvas.setPosition(x, y);
917917
sceneCanvas.setSize(width, height);
918-
});
918+
}); */
919919
uiIframe.contentWindow.onmessage = m => {
920920
switch (m.data.method) {
921921
case 'viewport': {

0 commit comments

Comments
 (0)