kopiro / siriwave

The Apple® Siri wave-form replicated in a JS library.
http://kopiro.github.io/siriwave/
MIT License
1.63k stars 168 forks source link

Curve style colors inverted #49

Closed Daskus1 closed 4 years ago

Daskus1 commented 4 years ago

Following the documentation style: "ios" should draw the "simple" sinus wave, whereas "ios9" should draw the overlapping filled waves. Using the latest version this behavior seems to be inverted, causing also the problem of not being able to change the color of the default wave at runtime.

Here a stackblitz example that reproduces the issue: https://stackblitz.com/edit/typescript-iays7f?file=index.html

kopiro commented 4 years ago

Thanks, fixed in https://github.com/kopiro/siriwave/commit/b430e11f06e95dc0387bc400d4097b703f8a869d

kopiro commented 4 years ago

Released 2.0.3 with this fix