visual-song 0.12.2 → 0.12.3
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
|
@@ -6467,7 +6467,7 @@ const VisualSong = /*#__PURE__*/ forwardRef(function VisualSong({ style, mainLoo
|
|
|
6467
6467
|
canvas.style.setProperty("height", "100%");
|
|
6468
6468
|
canvas.style.setProperty("width", `${Math.floor(canvas.offsetHeight * engineAspectRatio)}px`);
|
|
6469
6469
|
}
|
|
6470
|
-
_resizeRenderer(
|
|
6470
|
+
_resizeRenderer(resolutionRef.current.width, resolutionRef.current.height);
|
|
6471
6471
|
} else {
|
|
6472
6472
|
canvas.style.setProperty("width", "100%");
|
|
6473
6473
|
canvas.style.setProperty("height", "100%");
|