Fix waypoint colors not being customizable

This commit is contained in:
spherallic 2023-05-02 04:07:18 +02:00
parent 10eb57aed0
commit fa1483351f
2 changed files with 5 additions and 10 deletions

View file

@ -1964,7 +1964,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare8
//
this.nightscolormare8.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare8.Label = "Path color (Mare 8):";
this.nightscolormare8.Location = new System.Drawing.Point(207, 98);
this.nightscolormare8.MaximumSize = new System.Drawing.Size(10000, 23);
@ -1976,7 +1975,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare7
//
this.nightscolormare7.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare7.Label = "Path color (Mare 7):";
this.nightscolormare7.Location = new System.Drawing.Point(207, 71);
this.nightscolormare7.MaximumSize = new System.Drawing.Size(10000, 23);
@ -1988,7 +1986,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare6
//
this.nightscolormare6.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare6.Label = "Path color (Mare 6):";
this.nightscolormare6.Location = new System.Drawing.Point(207, 44);
this.nightscolormare6.MaximumSize = new System.Drawing.Size(10000, 23);
@ -2000,7 +1997,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare5
//
this.nightscolormare5.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare5.Label = "Path color (Mare 5):";
this.nightscolormare5.Location = new System.Drawing.Point(207, 17);
this.nightscolormare5.MaximumSize = new System.Drawing.Size(10000, 23);
@ -2012,7 +2008,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare4
//
this.nightscolormare4.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare4.Label = "Path color (Mare 4):";
this.nightscolormare4.Location = new System.Drawing.Point(15, 98);
this.nightscolormare4.MaximumSize = new System.Drawing.Size(10000, 23);
@ -2024,7 +2019,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare3
//
this.nightscolormare3.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare3.Label = "Path color (Mare 3):";
this.nightscolormare3.Location = new System.Drawing.Point(15, 71);
this.nightscolormare3.MaximumSize = new System.Drawing.Size(10000, 23);
@ -2036,7 +2030,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare2
//
this.nightscolormare2.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare2.Label = "Path color (Mare 2):";
this.nightscolormare2.Location = new System.Drawing.Point(15, 44);
this.nightscolormare2.MaximumSize = new System.Drawing.Size(10000, 23);
@ -2048,7 +2041,6 @@ namespace CodeImp.DoomBuilder.Windows
// nightscolormare1
//
this.nightscolormare1.BackColor = System.Drawing.Color.Transparent;
this.nightscolormare1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.nightscolormare1.Label = "Path color (Mare 1):";
this.nightscolormare1.Location = new System.Drawing.Point(15, 17);
this.nightscolormare1.MaximumSize = new System.Drawing.Size(10000, 23);

View file

@ -432,6 +432,9 @@ namespace CodeImp.DoomBuilder.Windows
General.Colors.SetNiGHTSColor(6, nightscolormare7.Color);
General.Colors.SetNiGHTSColor(7, nightscolormare8.Color);
General.Colors.WaypointColor = waypointcolor1.Color;
General.Colors.WaypointLoopColor = waypointcolor2.Color;
//mxd
General.Settings.GZSynchCameras = cbSynchCameras.Checked;
General.Settings.GZMaxDynamicLights = tbDynLightCount.Value;