Skip to content

Commit

Permalink
Changes debounce time
Browse files Browse the repository at this point in the history
  • Loading branch information
geongeorge committed Jul 14, 2023
1 parent 7eb277d commit cc7e30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/AppCanvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function redrawAndMeasure() {
renderTime.value = t1 - t0
console.log(`Rendering took ${renderTime.value} milliseconds.`)
}
const deboundedRedrawAndMeasure = debounce(redrawAndMeasure, 30)
const deboundedRedrawAndMeasure = debounce(redrawAndMeasure, 10)
watch(config, () => {
deboundedRedrawAndMeasure()
Expand Down

0 comments on commit cc7e30f

Please sign in to comment.