We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2c4485 commit 1e6531cCopy full SHA for 1e6531c
src/Rive/SKCanvasDrawOperation.cs
@@ -1,5 +1,6 @@
1
using System;
2
using Avalonia;
3
+using Avalonia.Media;
4
using Avalonia.Platform;
5
using Avalonia.Rendering.SceneGraph;
6
using Avalonia.Skia;
@@ -56,9 +57,9 @@ public void Dispose()
56
57
///
58
/// </summary>
59
/// <param name="context"></param>
- public void Render(IDrawingContextImpl context)
60
+ public void Render(ImmediateDrawingContext context)
61
{
- var leaseFeature = context.GetFeature<ISkiaSharpApiLeaseFeature>();
62
+ var leaseFeature = context.TryGetFeature<ISkiaSharpApiLeaseFeature>();
63
if (leaseFeature is null)
64
65
return;
0 commit comments