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.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/Histacom2.Engine/UI/ClassicTextbox.cs b/Histacom2.Engine/UI/ClassicTextbox.cs
index a42c2b1..8f1f9c3 100644
--- a/Histacom2.Engine/UI/ClassicTextbox.cs
+++ b/Histacom2.Engine/UI/ClassicTextbox.cs
@@ -32,8 +32,16 @@ namespace Histacom2.Engine.UI
// Update a bunch of variables!
textBox1.Font = new Font("Microsoft Sans Serif", 8.25F, FontStyle.Regular);
- if (SaveSystem.currentTheme != null) textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
- else textBox1.BackColor = Color.White;
+ if (SaveSystem.currentTheme != null)
+ {
+ textBox1.BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ BackColor = SaveSystem.currentTheme.threeDObjectsColor;
+ }
+ else
+ {
+ textBox1.BackColor = Color.White;
+ BackColor = Color.White;
+ }
if (SaveSystem.currentTheme != null)
{