1
0
mirror of synced 2024-12-01 18:47:26 +01:00

Fix color display on list for AAMP

This commit is contained in:
KillzXGaming 2019-04-25 19:27:51 -04:00
parent b7d5a3ffb6
commit e3497c76b2
3 changed files with 4 additions and 3 deletions

Binary file not shown.

View File

@ -105,6 +105,7 @@ namespace FirstPlugin.Forms
item.SubItems.Clear();
item.Text = entry.HashString;
item.Tag = entry;
item.UseItemStyleForSubItems = false;
item.SubItems.Add(entry.ParamType.ToString());
string ValueText = "";
@ -153,10 +154,10 @@ namespace FirstPlugin.Forms
break;
}
item.SubItems.Add(ValueText);
if (color != System.Drawing.Color.Empty)
item.SubItems.Add(new ListViewItem.ListViewSubItem(item, ValueText, item.ForeColor, color, item.Font));
else
item.SubItems.Add(ValueText);
item.SubItems[2].BackColor = color;
}
public override void OnEntryDeletion(object obj, TreeNode objNode)