From 862c2db11a0e25c175ad5a647bd59614c451d485 Mon Sep 17 00:00:00 2001 From: xxSeys1 Date: Tue, 11 Mar 2025 21:18:23 +0100 Subject: [PATCH] fix some typos --- Source/Editor/SceneGraph/GUI/ActorTreeNode.cs | 2 +- Source/Engine/Render2D/Font.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs b/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs index 5dd5f6cbe..d165e9f2e 100644 --- a/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs +++ b/Source/Editor/SceneGraph/GUI/ActorTreeNode.cs @@ -166,7 +166,7 @@ namespace FlaxEditor.SceneGraph.GUI /// The filter text. public void UpdateFilter(string filterText) { - // SKip hidden actors + // Skip hidden actors var actor = Actor; if (actor != null && (actor.HideFlags & HideFlags.HideInHierarchy) != 0) return; diff --git a/Source/Engine/Render2D/Font.h b/Source/Engine/Render2D/Font.h index 187d5b24a..d642e4116 100644 --- a/Source/Engine/Render2D/Font.h +++ b/Source/Engine/Render2D/Font.h @@ -399,7 +399,7 @@ public: /// /// The input text to test. /// The layout properties. - /// The minimum size for that text and fot to render properly. + /// The minimum size for that text and font to render properly. API_FUNCTION() Float2 MeasureText(const StringView& text, API_PARAM(Ref) const TextLayoutOptions& layout); /// @@ -408,7 +408,7 @@ public: /// The input text to test. /// The input text range (substring range of the input text parameter). /// The layout properties. - /// The minimum size for that text and fot to render properly. + /// The minimum size for that text and font to render properly. API_FUNCTION() Float2 MeasureText(const StringView& text, API_PARAM(Ref) const TextRange& textRange, API_PARAM(Ref) const TextLayoutOptions& layout) { return MeasureText(textRange.Substring(text), layout); @@ -418,7 +418,7 @@ public: /// Measures minimum size of the rectangle that will be needed to draw given text /// . /// The input text to test. - /// The minimum size for that text and fot to render properly. + /// The minimum size for that text and font to render properly. API_FUNCTION() FORCE_INLINE Float2 MeasureText(const StringView& text) { return MeasureText(text, TextLayoutOptions()); @@ -429,7 +429,7 @@ public: /// . /// The input text to test. /// The input text range (substring range of the input text parameter). - /// The minimum size for that text and fot to render properly. + /// The minimum size for that text and font to render properly. API_FUNCTION() FORCE_INLINE Float2 MeasureText(const StringView& text, API_PARAM(Ref) const TextRange& textRange) { return MeasureText(textRange.Substring(text), TextLayoutOptions());