1
0
mirror of synced 2024-09-24 11:38:22 +02:00

Add normals color to presets for the fill color option

This commit is contained in:
KillzXGaming 2019-05-13 20:29:35 -04:00
parent 5351a22f18
commit 13ea4aa130
5 changed files with 6 additions and 0 deletions

Binary file not shown.

View File

@ -26,7 +26,13 @@ namespace Switch_Toolbox.Library.Forms
private void stButton1_Click(object sender, EventArgs e)
{
Color NormalColor = Color.FromArgb(254, 124, 133); //A blank normal map color
int[] ColorPresets = new int[1];
ColorPresets[0] = NormalColor.ToArgb() & 0x00FFFFFF;
ColorDialog colorDialog = new ColorDialog();
colorDialog.CustomColors = ColorPresets;
if (colorDialog.ShowDialog() == DialogResult.OK) {
FillColor = colorDialog.Color;
stButton1.BackColor = FillColor;