Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 19, 2014
1 parent a294fcd commit 70691cb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions src/editors/xrSdkControls/Controls/ColorPicker/ColorPicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public sealed partial class ColorPicker : UserControl
public delegate void ColorChangedEventHandler(object sender, Color color);

private Color color;
private bool hexademical;
private bool hexadecimal;

public ColorPicker()
{
Expand All @@ -34,19 +34,19 @@ public Color Value
public byte Blue { get; private set; }
public byte Alpha { get; private set; }

public bool Hexademical
public bool Hexadecimal
{
get { return hexademical; }
get { return hexadecimal; }
set
{
if (hexademical == value)
if (hexadecimal == value)
return;
hexademical = value;
chkHexademical.Checked = value;
islRed.Hexademical = value;
islGreen.Hexademical = value;
islBlue.Hexademical = value;
islAlpha.Hexademical = value;
hexadecimal = value;
chkHexadecimal.Checked = value;
islRed.Hexadecimal = value;
islGreen.Hexadecimal = value;
islBlue.Hexadecimal = value;
islAlpha.Hexadecimal = value;
}
}

Expand All @@ -56,7 +56,7 @@ private void ColorPicker_Load(object sender, EventArgs e)
islGreen.ValueChanged += (obj, args) => UpdateColor();
islBlue.ValueChanged += (obj, args) => UpdateColor();
islAlpha.ValueChanged += (obj, args) => UpdateColor();
chkHexademical.CheckedChanged += (obj, args) => Hexademical = chkHexademical.Checked;
chkHexadecimal.CheckedChanged += (obj, args) => Hexadecimal = chkHexadecimal.Checked;
UpdateColor();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public int Maximum
}
}

public bool Hexademical
public bool Hexadecimal
{
get { return numSpinner.Hexadecimal; }
set { numSpinner.Hexadecimal = value; }
Expand Down

0 comments on commit 70691cb

Please sign in to comment.