Add normals color to presets for the fill color option
This commit is contained in:
parent
5351a22f18
commit
13ea4aa130
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user