Add option to limit the amount of shown log lines

This commit is contained in:
Harold Iedema
2024-04-18 16:13:46 +02:00
parent 04b1063972
commit e0793a51da
7 changed files with 80 additions and 29 deletions
+2
View File
@@ -39,6 +39,7 @@ internal class Configuration : IPluginConfiguration
public bool SortAutoTranslate;
public bool CollapseDuplicateMessages;
public bool PlaySounds = true;
public int MaxLinesToRender = 10_000;
public bool FontsEnabled = true;
public ExtraGlyphRanges ExtraGlyphRanges = 0;
@@ -83,6 +84,7 @@ internal class Configuration : IPluginConfiguration
SortAutoTranslate = other.SortAutoTranslate;
CollapseDuplicateMessages = other.CollapseDuplicateMessages;
PlaySounds = other.PlaySounds;
MaxLinesToRender = other.MaxLinesToRender;
FontsEnabled = other.FontsEnabled;
ExtraGlyphRanges = other.ExtraGlyphRanges;
FontSize = other.FontSize;