mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -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.