mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
Tiny fixes in Color Picker plugin
This commit is contained in:
parent
879cbacd93
commit
bf1e9480ed
2 changed files with 4 additions and 4 deletions
|
@ -90,9 +90,9 @@ namespace CodeImp.DoomBuilder.ColorPicker.Controls {
|
|||
string r = RGB.Red.ToString("X");
|
||||
if (r.Length == 1) r = "0" + r;
|
||||
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");
|
||||
if (b.Length == 1) r = "0" + b;
|
||||
if (b.Length == 1) b = "0" + b;
|
||||
|
||||
isInUpdate = true;
|
||||
tbFloatVals.Text = r + g + b;
|
||||
|
|
|
@ -159,9 +159,9 @@
|
|||
//
|
||||
// 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.Size = new System.Drawing.Size(91, 20);
|
||||
this.tbFloatVals.Size = new System.Drawing.Size(95, 20);
|
||||
this.tbFloatVals.TabIndex = 63;
|
||||
this.tbFloatVals.Text = "1.01 0.55 0.33";
|
||||
this.tbFloatVals.TextChanged += new System.EventHandler(this.tbFloatVals_TextChanged);
|
||||
|
|
Loading…
Reference in a new issue