Missing backgroundcolor

This commit is contained in:
2026-01-17 03:10:29 +00:00
parent 5443c7c22a
commit aad915ad86
63 changed files with 177 additions and 143 deletions

View File

@@ -205,11 +205,7 @@ public partial class LabelHandler : ViewHandler<ILabel, SkiaLabel>
if (label.Background is SolidPaint solidPaint && solidPaint.Color is not null)
{
handler.PlatformView.BackgroundColor = new SKColor(
(byte)(solidPaint.Color.Red * 255),
(byte)(solidPaint.Color.Green * 255),
(byte)(solidPaint.Color.Blue * 255),
(byte)(solidPaint.Color.Alpha * 255));
handler.PlatformView.BackgroundColor = solidPaint.Color;
}
}