This commit is contained in:
Ottermandias 2024-01-10 16:27:11 +01:00
parent 36cbca4684
commit 4b198ef1e4
2 changed files with 2 additions and 3 deletions

View file

@ -33,7 +33,6 @@ public enum ColorId
public static class Colors
{
// These are written as 0xAABBGGRR.
public const uint PressEnterWarningBg = 0xFF202080;
public const uint RegexWarningBorder = 0xFF0000B0;
public const uint MetaInfoText = 0xAAFFFFFF;

View file

@ -209,7 +209,7 @@ public class ModPanelSettingsTab : ITab
{
using var id = ImRaii.PushId(groupIdx);
var selectedOption = _empty ? (int)group.DefaultSettings : (int)_settings.Settings[groupIdx];
var minWidth = Widget.BeginFramedGroup(group.Name, group.Description);
var minWidth = Widget.BeginFramedGroup(group.Name, description:group.Description);
void DrawOptions()
{
@ -288,7 +288,7 @@ public class ModPanelSettingsTab : ITab
{
using var id = ImRaii.PushId(groupIdx);
var flags = _empty ? group.DefaultSettings : _settings.Settings[groupIdx];
var minWidth = Widget.BeginFramedGroup(group.Name, group.Description);
var minWidth = Widget.BeginFramedGroup(group.Name, description: group.Description);
void DrawOptions()
{