taublast / DrawnUi.Maui

UI Rendering Engine for .NET MAUI powered by SkiaSharp
MIT License
217 stars 16 forks source link

Sandbox / Carousels: MainPageCarousels / InitializeComponent: SkiaButton_Tapped signature #89

Closed ToolmakerSteve closed 1 month ago

ToolmakerSteve commented 1 month ago

No method SkiaButton_Tapped with correct signature found on type Sandbox.Views.MainPageCarousels'

XAML:

<draw:SkiaButton
  Tapped="SkiaButton_Tapped"

c#:

private void SkiaButton_Tapped(object sender, AppoMobi.Maui.Gestures.TouchActionEventArgs e)

Fix:

private void SkiaButton_Tapped(object sender, SkiaGesturesParameters e)
taublast commented 1 month ago

Has chaanged the signature indeed, might have not upgraded code in all the samples.. Thanks for pointing this out, will correct this one shortly. Meanwhile you could use the intellisense to correct to the correct signature if you want.

ToolmakerSteve commented 1 month ago

There is a similar line in MainPageDrawers, but the method is not currently called, so it doesn't complain.

taublast commented 1 month ago

Thanks will scan everywhere. :)

taublast commented 1 month ago

Fix will get pushed soon.