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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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(window.devicePixelRatio * canvas.offsetWidth, window.devicePixelRatio * canvas.offsetHeight);
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%");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visual-song",
3
- "version": "0.12.2",
3
+ "version": "0.12.3",
4
4
  "description": "visual-song core library",
5
5
  "author": "kunyoungparkk (rjsdud3263@gmail.com)",
6
6
  "license": "MIT",