mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 06:31: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
@@ -1214,7 +1214,7 @@ function heatmap(art, danmuku, option) {
|
||||
$start = null;
|
||||
$stop = null;
|
||||
$heatmap.innerHTML = "";
|
||||
if (danmuku.danmus.length === 0) return;
|
||||
if (!danmuku.danmus.length || !art.duration) return;
|
||||
const svg = {
|
||||
w: $heatmap.offsetWidth,
|
||||
h: $heatmap.offsetHeight
|
||||
|
||||
Reference in new issue
Block a user