mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 20:21:20 -08:00
update heatmap
This commit is contained in:
1 parent
ebc915e3ab
commit
9ea091856b
3 files changed
+3
-3
No files matched your search
@@ -49,7 +49,7 @@ export default function heatmap(art, danmuku, option) {
|
||||
$stop = null;
|
||||
$heatmap.innerHTML = '';
|
||||
|
||||
if (danmuku.danmus.length === 0) return;
|
||||
if (!danmuku.danmus.length || !art.duration) return;
|
||||
|
||||
const svg = {
|
||||
w: $heatmap.offsetWidth,
|
||||
|
||||
Reference in new issue
Block a user