Fix fog of war (#4031)

This PR fixes the fog of war example.

### Change Type


<!--  Please select a 'Type' label ️ -->

- [ ] `feature` — New feature
- [ ] `improvement` — Product improvement
- [ ] `api` — API change
- [x] `bugfix` — Bug fix
- [ ] `other` — Changes that don't affect SDK users, e.g. internal or
.com changes

---------

Co-authored-by: huppy-bot[bot] <128400622+huppy-bot[bot]@users.noreply.github.com>
This commit is contained in:
Steve Ruiz 2024-06-28 10:04:47 +01:00 committed by GitHub
parent ca5e268798
commit 964dd82f93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 7 additions and 7 deletions

View file

@ -38,7 +38,7 @@ const solidSettings = (strokeWidth: number): StrokeOptions => {
return {
size: strokeWidth,
thinning: 0,
streamline: modulate(strokeWidth, [9, 16], [0.68, 0.74], true), // 0.62 + ((1 + strokeWidth) / 8) * 0.06,
streamline: modulate(strokeWidth, [9, 16], [0.64, 0.74], true), // 0.62 + ((1 + strokeWidth) / 8) * 0.06,
smoothing: 0.62,
simulatePressure: false,
easing: EASINGS.linear,