From 092f8df8f540a407e5d0e5db43d5add45dcf9e84 Mon Sep 17 00:00:00 2001 From: Flamefire Date: Mon, 27 Oct 2014 11:10:15 +0100 Subject: [PATCH] Put a constraint on fade time --- Vocaluxe/Base/CConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vocaluxe/Base/CConfig.cs b/Vocaluxe/Base/CConfig.cs index 796af1ff..5426ba27 100644 --- a/Vocaluxe/Base/CConfig.cs +++ b/Vocaluxe/Base/CConfig.cs @@ -97,7 +97,7 @@ namespace Vocaluxe.Base [DefaultValue(60f)] public float MaxFPS; [DefaultValue(EOffOn.TR_CONFIG_ON)] public EOffOn VSync; [DefaultValue(EOffOn.TR_CONFIG_ON)] public EOffOn FullScreen; - [DefaultValue(0.4f)] public float FadeTime; + [DefaultValue(0.4f), XmlRanged(0, 3)] public float FadeTime; } public struct SConfigTheme