From aaeda825e07f992447a851684ccd8442fd27a4c5 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 6 Oct 2020 20:14:57 +0200 Subject: [PATCH] fixed some documentation issues --- MLEM.Data/CopyExtensions.cs | 4 ++-- MLEM.Ui/Style/UiStyle.cs | 2 +- MLEM.Ui/UiSystem.cs | 2 +- MLEM/Font/GenericFont.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MLEM.Data/CopyExtensions.cs b/MLEM.Data/CopyExtensions.cs index 2ea372f..e621c05 100644 --- a/MLEM.Data/CopyExtensions.cs +++ b/MLEM.Data/CopyExtensions.cs @@ -40,7 +40,7 @@ namespace MLEM.Data { } /// - /// Copies the given object into the given object in a shallow manner. + /// Copies the given object into the given object in a shallow manner. /// /// The object to create a shallow copy of /// The object to copy into @@ -55,7 +55,7 @@ namespace MLEM.Data { } /// - /// Copies the given object into the given object in a deep manner. + /// Copies the given object into the given object in a deep manner. /// Note that, for this to work correctly, each type that should be constructed below the topmost level needs to contanin a parameterless constructor. /// /// The object to create a deep copy of diff --git a/MLEM.Ui/Style/UiStyle.cs b/MLEM.Ui/Style/UiStyle.cs index 9d0c501..286cade 100644 --- a/MLEM.Ui/Style/UiStyle.cs +++ b/MLEM.Ui/Style/UiStyle.cs @@ -92,7 +92,7 @@ namespace MLEM.Ui.Style { /// public Color RadioHoveredColor; /// - /// The texture that the renders on top of its regular texture when it is + /// The texture that the renders on top of its regular texture when it is /// public TextureRegion RadioCheckmark; /// diff --git a/MLEM.Ui/UiSystem.cs b/MLEM.Ui/UiSystem.cs index f0715b9..5831e24 100644 --- a/MLEM.Ui/UiSystem.cs +++ b/MLEM.Ui/UiSystem.cs @@ -99,7 +99,7 @@ namespace MLEM.Ui { public TextFormatter TextFormatter; /// /// The action that should be executed when a in a paragraph's is pressed. - /// The actual link stored in the link code is stored in its 's 1st group. + /// The actual link stored in the link code is stored in its 's 1st group. /// By default, the browser is opened with the given link's address. /// public Action LinkBehavior = l => Process.Start(l.Match.Groups[1].Value); diff --git a/MLEM/Font/GenericFont.cs b/MLEM/Font/GenericFont.cs index 9ef8178..1a38e87 100644 --- a/MLEM/Font/GenericFont.cs +++ b/MLEM/Font/GenericFont.cs @@ -124,7 +124,7 @@ namespace MLEM.Font { /// /// Truncates a string to a given width. If the string's displayed area is larger than the maximum width, the string is cut off. - /// Optionally, the string can be cut off a bit sooner, adding the at the end instead. + /// Optionally, the string can be cut off a bit sooner, adding the at the end instead. /// /// The text to truncate /// The maximum width, in display pixels based on the font and scale