feat: add opacity slider

This commit is contained in:
Anna
2022-01-15 16:07:44 -05:00
parent d669ba8db0
commit 2d7039deae
3 changed files with 23 additions and 1 deletions
+2
View File
@@ -16,6 +16,7 @@ internal class Configuration : IPluginConfiguration {
public bool CanResize = true;
public bool ShowTitleBar;
public float FontSize = 17f;
public float WindowAlpha = 1f;
public Dictionary<ChatType, uint> ChatColours = new();
public List<Tab> Tabs = new();
@@ -29,6 +30,7 @@ internal class Configuration : IPluginConfiguration {
this.CanResize = other.CanResize;
this.ShowTitleBar = other.ShowTitleBar;
this.FontSize = other.FontSize;
this.WindowAlpha = other.WindowAlpha;
this.ChatColours = other.ChatColours.ToDictionary(entry => entry.Key, entry => entry.Value);
this.Tabs = other.Tabs.Select(t => t.Clone()).ToList();
}