More fixes

This commit is contained in:
2026-01-17 05:22:37 +00:00
parent f62d4aa5f2
commit 7d2ac327a3
58 changed files with 754 additions and 666 deletions

View File

@@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
using SkiaSharp;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Platform.Linux.Window;
using Microsoft.Maui.Platform;
using System.Runtime.InteropServices;
@@ -167,9 +168,9 @@ public class SkiaRenderingEngine : IDisposable
return;
// Measure and arrange
var availableSize = new SKSize(Width, Height);
var availableSize = new Size(Width, Height);
rootView.Measure(availableSize);
rootView.Arrange(new SKRect(0, 0, Width, Height));
rootView.Arrange(new Rect(0, 0, Width, Height));
// Determine what to redraw
List<SKRect> regionsToRedraw;