diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-14 12:33:40 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-03-14 12:33:40 +0100 |
| commit | 2c8ebf731af0a626c5d684efc5c2853edd8c3c2d (patch) | |
| tree | 8beeb9d4f53183db21614f0dddc16859d246c339 /src/Colors.cs | |
| parent | fda39ed7506551ab48dce271cb2d5e9c63f2b00c (diff) | |
dragndrop of GObjs
Diffstat (limited to 'src/Colors.cs')
| -rw-r--r-- | src/Colors.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Colors.cs b/src/Colors.cs index 6bc380cc..0b1b3ad7 100644 --- a/src/Colors.cs +++ b/src/Colors.cs @@ -110,6 +110,8 @@ namespace Crow cc.B = int.Parse (s.Substring (5, 2), System.Globalization.NumberStyles.HexNumber) / 255.0; if (s.Length > 7) cc.A = int.Parse (s.Substring (7, 2), System.Globalization.NumberStyles.HexNumber) / 255.0; + else + cc.A = 1.0; return cc; } |