aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/Applications/Artpad.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-20 16:21:14 -0400
committerMichael <[email protected]>2017-06-20 16:21:14 -0400
commit3336f3e0dd238219b86adbdd6b08c3ce5c2d46b2 (patch)
tree6b2564fc778c3e8224cd5a7d5c56e697493eea1d /ShiftOS.WinForms/Applications/Artpad.cs
parent6eb10fd26643f3a072b0cb0d820066c14ae06491 (diff)
downloadshiftos_thereturn-3336f3e0dd238219b86adbdd6b08c3ce5c2d46b2.tar.gz
shiftos_thereturn-3336f3e0dd238219b86adbdd6b08c3ce5c2d46b2.tar.bz2
shiftos_thereturn-3336f3e0dd238219b86adbdd6b08c3ce5c2d46b2.zip
fix image size display colors
Diffstat (limited to 'ShiftOS.WinForms/Applications/Artpad.cs')
-rw-r--r--ShiftOS.WinForms/Applications/Artpad.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/ShiftOS.WinForms/Applications/Artpad.cs b/ShiftOS.WinForms/Applications/Artpad.cs
index 19bf5d0..6511420 100644
--- a/ShiftOS.WinForms/Applications/Artpad.cs
+++ b/ShiftOS.WinForms/Applications/Artpad.cs
@@ -785,7 +785,7 @@ namespace ShiftOS.WinForms.Applications
// ERROR: Handles clauses are not supported in C#
private void txtnewcanvaswidth_TextChanged(object sender, EventArgs e)
{
- if (txtnewcanvaswidth.Text == "" | txtnewcanvasheight.Text == "")
+ if (txtnewcanvaswidth.Text == "" || txtnewcanvasheight.Text == "")
{
if (txtnewcanvasheight.Text == "")
{
@@ -803,7 +803,7 @@ namespace ShiftOS.WinForms.Applications
lbltotalpixels.Text = (Convert.ToInt32(txtnewcanvaswidth.Text) * Convert.ToInt32(txtnewcanvasheight.Text)).ToString();
if (ShiftoriumFrontend.UpgradeInstalled("artpad_limitless_pixels") == true)
{
- lbltotalpixels.ForeColor = Color.Black;
+ lbltotalpixels.ForeColor = SkinEngine.LoadedSkin.ControlTextColor;
}
else
{
@@ -813,7 +813,7 @@ namespace ShiftOS.WinForms.Applications
}
else
{
- lbltotalpixels.ForeColor = Color.Black;
+ lbltotalpixels.ForeColor = SkinEngine.LoadedSkin.ControlTextColor;
}
}
}