Skip to content

Commit cd70244

Browse files
committed
Fix performance 2
1 parent a60fb96 commit cd70244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import Color from 'color'
2121

2222
// eslint-disable-next-line no-undef
23-
const now = performance.now
23+
const now = () => performance.now()
2424

2525
export class Sink {
2626
startPath(time, objnum, curclient, x, y, type, color, width, pressure) {

0 commit comments

Comments
 (0)