Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
default background should have no alpha/transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjorn committed Mar 10, 2017
1 parent 7d86406 commit e23dc8f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion FloatingGlucose/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<value />
</setting>
<setting name="BackgroundColorHex" serializeAs="String">
<value>FF0000</value>
<value>FF000000</value>
</setting>
<setting name="BackgroundImage" serializeAs="String">
<value />
Expand Down
3 changes: 2 additions & 1 deletion FloatingGlucose/Classes/Extensions/ColorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public static string ToHexString(this Color color)
public static Color FromHexStringToColor(this String hexColor)
{
var argb = Convert.ToInt32(hexColor, 16);
return Color.FromArgb(argb);
var color = Color.FromArgb(argb);//FF000000 - black with no transparency
return color;
}


Expand Down
2 changes: 1 addition & 1 deletion FloatingGlucose/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.7")]
[assembly: AssemblyFileVersion("1.0.0.7")]
[assembly: AssemblyFileVersion("1.0.0.8")]
2 changes: 1 addition & 1 deletion FloatingGlucose/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion FloatingGlucose/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<Value Profile="(Default)" />
</Setting>
<Setting Name="BackgroundColorHex" Type="System.String" Scope="User">
<Value Profile="(Default)">FF0000</Value>
<Value Profile="(Default)">FF000000</Value>
</Setting>
<Setting Name="BackgroundImage" Type="System.String" Scope="User">
<Value Profile="(Default)" />
Expand Down

0 comments on commit e23dc8f

Please sign in to comment.