Skip to content
Snippets Groups Projects

Clear pathElems on clear of canvas

Merged Momo Langenstein requested to merge room-reconnect-path-fix into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -88,6 +88,7 @@ export const renderPath = (id, points) => {
@@ -88,6 +88,7 @@ export const renderPath = (id, points) => {
}
}
export const clear = () => {
export const clear = () => {
 
pathElems.clear()
canvas.innerHTML = ""
canvas.innerHTML = ""
}
}
Loading