Skip to content

Commit

Permalink
docs(netlify-example/brush/index.html): Fixes a typo which throws an …
Browse files Browse the repository at this point in the history
…error in the BrushTool example (#1377)
  • Loading branch information
mikehazell authored Jul 30, 2021
1 parent 7e3ec50 commit 95e05ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify-example/brush/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ <h2>
// Active Fill
const alphaSlider = document.getElementById('fill-alpha');

alphaSlider.defaultValue = Math.floor(configuration.fillAlpha * 255);
alphaSlider.defaultValue = Math.floor(segmentationModule.configuration.fillAlpha * 255);
alphaSlider.addEventListener('input', event => {
const normalisedAlpha = event.target.value / 255.0;

Expand Down

0 comments on commit 95e05ad

Please sign in to comment.