mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 23:37:47 +01:00
Small updates.
This commit is contained in:
parent
3b26e97231
commit
3deda68eec
9 changed files with 21 additions and 25 deletions
|
|
@ -118,7 +118,7 @@ public readonly struct ImcModGroupEditDrawer(ModGroupEditDrawer editor, ImcModGr
|
|||
: validName
|
||||
? "Add a new option to this group."u8
|
||||
: "Please enter a name for the new option."u8;
|
||||
if (ImUtf8.IconButton(FontAwesomeIcon.Plus, tt, !validName || dis))
|
||||
if (ImUtf8.IconButton(FontAwesomeIcon.Plus, tt, default, !validName || dis))
|
||||
{
|
||||
editor.ModManager.OptionEditor.ImcEditor.AddOption(group, cache, name);
|
||||
editor.NewOptionName = null;
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ public readonly struct MultiModGroupEditDrawer(ModGroupEditDrawer editor, MultiM
|
|||
var validName = name.Length > 0;
|
||||
if (ImUtf8.IconButton(FontAwesomeIcon.Plus, validName
|
||||
? "Add a new option to this group."u8
|
||||
: "Please enter a name for the new option."u8, !validName))
|
||||
: "Please enter a name for the new option."u8, default, !validName))
|
||||
{
|
||||
editor.ModManager.OptionEditor.MultiEditor.AddOption(group, name);
|
||||
editor.NewOptionName = null;
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ public readonly struct SingleModGroupEditDrawer(ModGroupEditDrawer editor, Singl
|
|||
var validName = name.Length > 0;
|
||||
if (ImUtf8.IconButton(FontAwesomeIcon.Plus, validName
|
||||
? "Add a new option to this group."u8
|
||||
: "Please enter a name for the new option."u8, !validName))
|
||||
: "Please enter a name for the new option."u8, default, !validName))
|
||||
{
|
||||
editor.ModManager.OptionEditor.SingleEditor.AddOption(group, name);
|
||||
editor.NewOptionName = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue