Tiny fixes in Color Picker plugin

This commit is contained in:
MaxED 2012-08-29 10:39:59 +00:00
parent 879cbacd93
commit bf1e9480ed
2 changed files with 4 additions and 4 deletions

View file

@ -90,9 +90,9 @@ namespace CodeImp.DoomBuilder.ColorPicker.Controls {
string r = RGB.Red.ToString("X"); string r = RGB.Red.ToString("X");
if (r.Length == 1) r = "0" + r; if (r.Length == 1) r = "0" + r;
string g = RGB.Green.ToString("X"); string g = RGB.Green.ToString("X");
if (g.Length == 1) r = "0" + g; if (g.Length == 1) g = "0" + g;
string b = RGB.Blue.ToString("X"); string b = RGB.Blue.ToString("X");
if (b.Length == 1) r = "0" + b; if (b.Length == 1) b = "0" + b;
isInUpdate = true; isInUpdate = true;
tbFloatVals.Text = r + g + b; tbFloatVals.Text = r + g + b;

View file

@ -159,9 +159,9 @@
// //
// tbFloatVals // tbFloatVals
// //
this.tbFloatVals.Location = new System.Drawing.Point(218, 115); this.tbFloatVals.Location = new System.Drawing.Point(214, 115);
this.tbFloatVals.Name = "tbFloatVals"; this.tbFloatVals.Name = "tbFloatVals";
this.tbFloatVals.Size = new System.Drawing.Size(91, 20); this.tbFloatVals.Size = new System.Drawing.Size(95, 20);
this.tbFloatVals.TabIndex = 63; this.tbFloatVals.TabIndex = 63;
this.tbFloatVals.Text = "1.01 0.55 0.33"; this.tbFloatVals.Text = "1.01 0.55 0.33";
this.tbFloatVals.TextChanged += new System.EventHandler(this.tbFloatVals_TextChanged); this.tbFloatVals.TextChanged += new System.EventHandler(this.tbFloatVals_TextChanged);