Parcourir la source

Move hide bg toggle up to light type grid

Matches the location in MM.
habeebweeb il y a 3 ans
Parent
commit
516d3d0f60

+ 4 - 2
src/MeidoPhotoStudio.Plugin/GUI/Panes/BackgroundWindowPanes/LightsPane.cs

@@ -258,6 +258,10 @@ namespace MeidoPhotoStudio.Plugin
                 GUI.enabled = true;
                 disableToggle.Draw();
             }
+
+            if (lightManager.SelectedLightIndex == 0 && currentLightType == MPSLightType.Normal) 
+                colorToggle.Draw();
+            
             GUILayout.EndHorizontal();
 
             GUI.enabled = !isDisabled;
@@ -281,8 +285,6 @@ namespace MeidoPhotoStudio.Plugin
             lightSlider[LightProp.Green].Draw();
             lightSlider[LightProp.Blue].Draw();
 
-            if (lightManager.SelectedLightIndex == 0 && currentLightType == MPSLightType.Normal) colorToggle.Draw();
-
             GUILayout.BeginHorizontal();
             GUILayout.Label(resetLabel, noExpandWidth);
             resetPropsButton.Draw(noExpandWidth);