roavatar-renderer 1.3.0 → 1.3.1

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49002,7 +49002,7 @@ class RBXRendererScene {
49002
49002
  directionalLight;
49003
49003
  directionalLight2;
49004
49004
  setRect(bounds) {
49005
- this.viewport = [bounds.left, document.body.clientHeight - bounds.bottom, bounds.width, bounds.height];
49005
+ this.viewport = [bounds.left, window.innerHeight - bounds.bottom, bounds.width, bounds.height];
49006
49006
  this.scissor = [...this.viewport];
49007
49007
  }
49008
49008
  noRect() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roavatar-renderer",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "A renderer for Roblox avatars, used by the RoAvatar extension.",
5
5
  "author": "steinan",
6
6
  "type": "module",