diff --git a/src/mol-app/ui/visualization/viewport.tsx b/src/mol-app/ui/visualization/viewport.tsx index 3a0b9afe506fb5acf14b311bb6f4c135aa0b8885..902882921bd471e896e290f71a0e8942bef3c8f1 100644 --- a/src/mol-app/ui/visualization/viewport.tsx +++ b/src/mol-app/ui/visualization/viewport.tsx @@ -134,6 +134,7 @@ export class Viewport extends View<ViewportController, ViewportState, { noWebGl? if (!this.canvas || !this.container || !this.controller.context.initStage(this.canvas, this.container)) { this.setState({ noWebGl: true }); } + this.handleResize() const viewer = this.controller.context.stage.viewer