Skip to content

Commit

Permalink
Editor: disable rounded edges on toolbars
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanDrake committed Nov 4, 2023
1 parent 6de13f0 commit a93401f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Editor/AGS.Editor/ColorThemes/ColorThemeJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ public override ToolStripRenderer GetMainMenuRenderer(string id)

public override ToolStripRenderer GetToolStripRenderer(string id)
{
return DoTransform(id, t => new ToolStripProfessionalRenderer(new ToolStripColorTable(this, t.Path)));
return DoTransform(id, t => {
var tspr = new ToolStripProfessionalRenderer(new ToolStripColorTable(this, t.Path));
tspr.RoundedEdges = false;
return tspr;
});
}

public override ComboBox GetComboBox(string id, ComboBox original)
Expand Down

0 comments on commit a93401f

Please sign in to comment.