Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bleeptrack committed Aug 21, 2024
2 parents f21dade + a2120a9 commit 5258b7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions static/WebcamGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ export class WebcamGenerator extends HTMLElement {
saveBtn.innerHTML = "SAVE"
this.progressbar.replaceWith(saveBtn)

/*

let svg = this.vectorizer.getSVG(false)
svg.querySelectorAll("path").forEach( p => {
p.style.strokeDasharray = p.getTotalLength()
p.style.strokeDashoffset = p.getTotalLength()
})
this.shadow.getElementById("container").replaceWith(svg)
*/
this.shadow.getElementById("vec").replaceWith(svg)

}else{
this.progressbar.setPercentage(data.detail.percentage, data.detail.label)
}
Expand Down

0 comments on commit 5258b7f

Please sign in to comment.