Skip to content

Commit 3a262ca

Browse files
fix infinite loop due to comparing dates incorrectly (fix #55)
1 parent d57dbd2 commit 3a262ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/Mark.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@
174174
ScaledChannelName,
175175
ScaleName
176176
][]) {
177-
if (array1[i][channel] !== array2[i][channel]) return true;
177+
if (!isEqual(array1[i][channel], array2[i][channel])) {
178+
return true;
179+
}
178180
}
179181
}
180182
return false;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy