aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/UI/ClassicTextbox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Histacom2.Engine/UI/ClassicTextbox.cs')
-rw-r--r--Histacom2.Engine/UI/ClassicTextbox.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Histacom2.Engine/UI/ClassicTextbox.cs b/Histacom2.Engine/UI/ClassicTextbox.cs
index 8c1d8d8..a42c2b1 100644
--- a/Histacom2.Engine/UI/ClassicTextbox.cs
+++ b/Histacom2.Engine/UI/ClassicTextbox.cs
@@ -30,11 +30,10 @@ namespace Histacom2.Engine.UI
this.Paint += new PaintEventHandler((object sender, PaintEventArgs e) =>
{
// Update a bunch of variables!
- if (SaveSystem.currentTheme != null) textBox1.Font = SaveSystem.currentTheme.buttonFont;
- else textBox1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular);
+ textBox1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular);
- if (SaveSystem.currentTheme != null) BackColor = SaveSystem.currentTheme.threeDObjectsColor;
- else BackColor = Color.White;
+ if (SaveSystem.currentTheme != null) textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ else textBox1.BackColor = Color.White;
if (SaveSystem.currentTheme != null)
{