From 37b955bd6570bc5cc18908fae11356cecdadd21a Mon Sep 17 00:00:00 2001 From: A-tG Date: Sun, 1 May 2022 19:01:10 +0300 Subject: [PATCH] hashsets initial value --- VoicemeeterOsdProgram/Options/OsdOptions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VoicemeeterOsdProgram/Options/OsdOptions.cs b/VoicemeeterOsdProgram/Options/OsdOptions.cs index 2e2de30..2e81847 100644 --- a/VoicemeeterOsdProgram/Options/OsdOptions.cs +++ b/VoicemeeterOsdProgram/Options/OsdOptions.cs @@ -13,8 +13,8 @@ public class OsdOptions : OsdOptionsBase private double m_backgroundOpacity = 0.9; private bool m_animationsEnabled = true; private bool m_waitForVmInit = true; - private HashSet m_alwaysShowElements = new(); - private HashSet m_neverShowElements = new(); + private HashSet m_alwaysShowElements = new(new[] { StripElements.None }); + private HashSet m_neverShowElements = new(new[] { StripElements.None }); private HashSet m_ignoreStripsIndexes = new(); public OsdOptions()