MarvinKlein1508 / SignaturePad

A simple to use blazor component to draw custom signatures.
MIT License
72 stars 12 forks source link

Options error #24

Closed andySF closed 4 days ago

andySF commented 7 months ago

Any idea how to get rid of this error. It builds successfully but I hate the red line.

image

Argument type 'SignaturePad.SignaturePadOptions' is not assignable to parameter type 'SignaturePadOptions'

private SignaturePadOptions _options = new () { LineCap = LineCap.Round, LineJoin = LineJoin.Round, LineWidth = 5 };

MarvinKlein1508 commented 7 months ago

This should work. Are you able to share this code file?

It works in the options demo: https://github.com/MarvinKlein1508/SignaturePad/blob/master/Demos.Core/SignaturePadDemos/OptionsDemo.razor

MarvinKlein1508 commented 4 days ago

I'm closing this one for now since there was no more activity. Please create another issue if this still persists.