mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 12:41:20 -08:00
fix: add missing newline at end of multiple package.json files and README.md
This commit is contained in:
1 parent
05ce97c6fd
commit
46ad399b2f
23 files changed
+22
-24
No files matched your search
@@ -12,7 +12,6 @@ function create({ url, width, number }, callback) {
|
||||
canvas.width = width * 10;
|
||||
canvas.height = height * Math.ceil(number / 10);
|
||||
|
||||
let loadedCount = 0;
|
||||
let blobUrl = null;
|
||||
|
||||
function seekAndDraw(index) {
|
||||
@@ -31,7 +30,6 @@ function create({ url, width, number }, callback) {
|
||||
|
||||
video.onseeked = () => {
|
||||
ctx.drawImage(video, (index % 10) * width, Math.floor(index / 10) * height, width, height);
|
||||
loadedCount++;
|
||||
seekAndDraw(index + 1);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user