Skip to content

Commit ddba673

Browse files
committed
chore: Adjust SKCanvasElement sample
1 parent 5c5dfaf commit ddba673

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Uno.Gallery/Helpers/Canvas/SampleSKCanvasElement.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Uno.WinUI.Graphics2DSK;
44
using Windows.Foundation;
55

6-
namespace UnexpectedApis.Views;
6+
namespace Uno.Gallery.Helpers.Canvas;
77

88
public class SampleSKCanvasElement : SKCanvasElement
99
{

Uno.Gallery/Views/SamplePages/SKCanvasElementPage.xaml.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
using System.IO;
1111
using System.Linq;
1212
using System.Runtime.InteropServices.WindowsRuntime;
13-
using UnexpectedApis.Views;
1413
using Windows.Foundation;
1514
using Windows.Foundation.Collections;
15+
#if HAS_UNO_SKIA
16+
using Uno.Gallery.Helpers.Canvas;
17+
#endif
1618

1719
namespace Uno.Gallery.Views.SamplePages;
1820

0 commit comments

Comments
 (0)