mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 15:26:16 -08:00
- Moved the canvas size calculation logic into a dedicated function `calcCanvasSize`. - Called `calcCanvasSize` to set the initial width and height of the canvas. - Removed duplicate `calcCanvasSize` function definition from the code.