From 69e5ba79b77e8bec6c8eb331b54521325fb4bdf4 Mon Sep 17 00:00:00 2001 From: biwa <6475593+biwa@users.noreply.github.com> Date: Thu, 9 Jul 2020 22:05:30 +0200 Subject: [PATCH] Color Picker: fixed a bug that prevented all intensity and interval sliders to show up for flicker lights --- Source/Plugins/ColorPicker/Windows/LightColorPicker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/ColorPicker/Windows/LightColorPicker.cs b/Source/Plugins/ColorPicker/Windows/LightColorPicker.cs index 6b951b4e8..43ac74242 100755 --- a/Source/Plugins/ColorPicker/Windows/LightColorPicker.cs +++ b/Source/Plugins/ColorPicker/Windows/LightColorPicker.cs @@ -135,7 +135,7 @@ namespace CodeImp.DoomBuilder.ColorPicker.Windows colorPickerSlider1.OnValueChanged += OnSliderValueChanged; //either both of them or none are used - if(Array.IndexOf(LIGHT_USES_ANGLE_VALUE, referenceThing.DynamicLightType) != -1) + if(Array.IndexOf(LIGHT_USES_ANGLE_VALUE, referenceThing.DynamicLightType.LightNum) != -1) { showAllControls = true; colorPickerSlider2.Label = typeInfo.Args[4].Title + ":"; -- GitLab