mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 12:50:52 +00:00
Color Picker: fixed a bug that prevented all intensity and interval sliders to show up for flicker lights
This commit is contained in:
parent
4202b3ea58
commit
69e5ba79b7
1 changed files with 1 additions and 1 deletions
|
@ -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 + ":";
|
||||
|
|
Loading…
Reference in a new issue