@expofp/renderer 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6974,6 +6974,7 @@ var ViewportSystem = class {
|
|
|
6974
6974
|
/** Stores the CSS-pixel sub-rect. Call {@link updateViewport} separately to apply it. */
|
|
6975
6975
|
set visibleRect(rect) {
|
|
6976
6976
|
this.visibleRectCss = rect;
|
|
6977
|
+
this.updateViewportRectPx();
|
|
6977
6978
|
}
|
|
6978
6979
|
/**
|
|
6979
6980
|
* Raycasts all loaded scenes and returns all visible intersections per scene.
|
|
@@ -7010,7 +7011,6 @@ var ViewportSystem = class {
|
|
|
7010
7011
|
* Should be called after a canvas resize or a {@link setVisibleRect} change.
|
|
7011
7012
|
*/
|
|
7012
7013
|
updateViewport() {
|
|
7013
|
-
this.updateViewportRectPx();
|
|
7014
7014
|
this.internalCameraSystem?.updateCamera();
|
|
7015
7015
|
this.sceneSystem.updateScene();
|
|
7016
7016
|
this.ctx.invalidate();
|