From cf8ef0a65548d371eda87d976a6842e75520c729 Mon Sep 17 00:00:00 2001
From: MartyIX <203266+MartyIX@users.noreply.github.com>
Date: Mon, 3 Jun 2024 07:58:46 +0200
Subject: [PATCH] Add remarks
---
src/Core/src/Fonts/FontManager.Windows.cs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/Core/src/Fonts/FontManager.Windows.cs b/src/Core/src/Fonts/FontManager.Windows.cs
index 6f78d96da556..6acc5a3527d5 100644
--- a/src/Core/src/Fonts/FontManager.Windows.cs
+++ b/src/Core/src/Fonts/FontManager.Windows.cs
@@ -28,7 +28,10 @@ public class FontManager : IFontManager
readonly IFontRegistrar _fontRegistrar;
readonly IServiceProvider? _serviceProvider;
+ /// Value is cached to avoid the performance hit of accessing many times.
FontFamily? _defaultFontFamily;
+
+ /// Value is cached to avoid the performance hit of accessing many times.
double? _defaultFontSize;
///