Skip to content

Commit

Permalink
Update Builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jonobr1 committed Feb 13, 2025
1 parent 86aa2aa commit 1d0c63b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build/two.js
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ var Two = (() => {
canvas: "CanvasRenderer"
},
Version: "v0.8.16",
PublishDate: "2025-02-09T05:22:31.345Z",
PublishDate: "2025-02-13T20:00:23.550Z",
Identifier: "two-",
Resolution: 12,
AutoCalculateImportedMatrices: true,
Expand Down Expand Up @@ -11132,7 +11132,7 @@ var Two = (() => {
_.extend(this.renderer.domElement.style, {
display: "block"
});
} else if (!_.isElement(params.domElement)) {
} else if (typeof params.width === "number" && typeof params.height === "number") {
this.renderer.setSize(params.width, params.height, this.ratio);
this.width = params.width;
this.height = params.height;
Expand Down
4 changes: 2 additions & 2 deletions build/two.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/two.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ var Constants = {
canvas: "CanvasRenderer"
},
Version: "v0.8.16",
PublishDate: "2025-02-09T05:22:31.345Z",
PublishDate: "2025-02-13T20:00:23.550Z",
Identifier: "two-",
Resolution: 12,
AutoCalculateImportedMatrices: true,
Expand Down Expand Up @@ -11116,7 +11116,7 @@ var _Two = class {
_.extend(this.renderer.domElement.style, {
display: "block"
});
} else if (!_.isElement(params.domElement)) {
} else if (typeof params.width === "number" && typeof params.height === "number") {
this.renderer.setSize(params.width, params.height, this.ratio);
this.width = params.width;
this.height = params.height;
Expand Down

0 comments on commit 1d0c63b

Please sign in to comment.