提交 8bacf1fb 编写于 作者: D David

chore: Fix merge issue

上级 01004fc0
......@@ -209,7 +209,7 @@ internal partial class OpenGLWpfRenderer : IWpfRenderer
if (_host.RootElement?.Visual is { } rootVisual)
{
rootVisual.Render(_surface);
rootVisual.Compositor.RenderRootVisual(_surface, rootVisual);
}
}
......
......@@ -85,7 +85,7 @@ internal class SoftwareWpfRenderer : IWpfRenderer
surface.Canvas.SetMatrix(SKMatrix.CreateScale((float)dpiScaleX, (float)dpiScaleY));
if (_host.RootElement?.Visual is { } rootVisual)
{
rootVisual.Render(surface);
rootVisual.Compositor.RenderRootVisual(surface, rootVisual);
}
}
......
......@@ -11,7 +11,7 @@ using FluentAssertions;
using Microsoft.UI.Xaml.Controls;
#endif
using Private.Infrastructure;
using Uno.UI.RuntimeTests.Tests.Uno_UI_Xaml_Core;
using Uno.UI.RuntimeTests.Helpers;
namespace Uno.UI.RuntimeTests.Tests.Windows_UI_Xaml_Controls.Repeater;
......
......@@ -20,7 +20,7 @@ internal static class ImageHelper
throw new ArgumentException("The background color must be opaque.", nameof(background));
}
background ??= Colors.White;
background ??= new Color { A = 255, R = 255, G = 255, B = 255 }; // White
var modified = false;
for (var i = 0; i < rgba8PixelsBuffer.Length; i += 4)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册