From b0bcfcfbf7591c87de03b0494dc5166653e19e36 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Mon, 22 May 2023 13:04:00 +0200 Subject: [PATCH] Make TextBlock.SimpleTextSource private. --- src/Avalonia.Controls/TextBlock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/TextBlock.cs b/src/Avalonia.Controls/TextBlock.cs index 11a180c4d7..6144136882 100644 --- a/src/Avalonia.Controls/TextBlock.cs +++ b/src/Avalonia.Controls/TextBlock.cs @@ -829,7 +829,7 @@ namespace Avalonia.Controls InvalidateTextLayout(); } - protected readonly record struct SimpleTextSource : ITextSource + private readonly record struct SimpleTextSource : ITextSource { private readonly string _text; private readonly TextRunProperties _defaultProperties;