Skip to content

Commit 409bc91

Browse files
committed
chore: Adjust tvOS
1 parent 3cb4ea8 commit 409bc91

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Uno.UI.Runtime.Skia.AppleUIKit/UI/Xaml/Window/RootViewController.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ namespace Uno.UI.Runtime.Skia.AppleUIKit;
3131

3232
internal class RootViewController : UINavigationController, IAppleUIKitXamlRootHost
3333
{
34+
#if __TVOS__
35+
private readonly SkiaRenderHelper.FpsHelper _fpsHelper = new();
36+
#endif
37+
3438
private SkiaCanvas? _skCanvasView;
3539
private XamlRoot? _xamlRoot;
3640
private UIView? _textInputLayer;
@@ -136,8 +140,6 @@ private void OnPaintSurfaceInner(SKSurface surface)
136140
_picture,
137141
SKColors.Transparent,
138142
_fpsHelper);
139-
140-
UpdateNativeClipping(_clipPath);
141143
}
142144
#endif
143145

0 commit comments

Comments
 (0)