Skip to content

Commit

Permalink
Removed ResizeSensor.
Browse files Browse the repository at this point in the history
  • Loading branch information
create3000 committed Sep 28, 2023
1 parent dc3512d commit 76d856b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/x_ite.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ X3DCanvas > :not(.x_ite-private-browser, .x_ite-private-menu) {
border: 0;
border-radius: 0;
padding: 0;
height: 100%;
}

.x_ite-private-canvas {
Expand Down
2 changes: 1 addition & 1 deletion src/x_ite/Browser/Rendering/X3DRenderingContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Object .assign (X3DRenderingContext .prototype,
$(document) .on ('webkitfullscreenchange mozfullscreenchange fullscreenchange MSFullscreenChange', this .onfullscreen .bind (this));

this [_resizer] = new ResizeObserver (this .reshape .bind (this));
this [_resizer] .observe (this .getSurface ());
this [_resizer] .observe (this .getSurface () [0]);

this .reshape ();
},
Expand Down

0 comments on commit 76d856b

Please sign in to comment.