Fix dynamic grid toggle on the toolbar being broken

This commit is contained in:
spherallic 2023-02-05 20:11:49 +01:00
parent 5b1ceb8941
commit 398bd9fee7

View file

@ -1819,20 +1819,6 @@ namespace CodeImp.DoomBuilder.Windows
this.buttontogglegrid.Tag = "builder_togglegrid";
this.buttontogglegrid.Text = "Render Grid";
this.buttontogglegrid.Click += new System.EventHandler(this.InvokeTaggedAction);
//
// buttontoggledynamicgrid
//
this.buttontoggledynamicgrid.Checked = true;
this.buttontoggledynamicgrid.CheckOnClick = true;
this.buttontoggledynamicgrid.CheckState = System.Windows.Forms.CheckState.Checked;
this.buttontoggledynamicgrid.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.buttontoggledynamicgrid.Image = global::CodeImp.DoomBuilder.Properties.Resources.GridDynamic;
this.buttontoggledynamicgrid.ImageTransparentColor = System.Drawing.Color.Magenta;
this.buttontoggledynamicgrid.Name = "buttontoggledynamicgrid";
this.buttontoggledynamicgrid.Size = new System.Drawing.Size(23, 22);
this.buttontoggledynamicgrid.Tag = "builder_toggledynamicgrid";
this.buttontoggledynamicgrid.Text = "Dynamic Grid Size";
this.buttontoggledynamicgrid.Click += new System.EventHandler(this.InvokeTaggedAction);
//
// buttontogglenightspath
//