The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Merge branch 'master' of github.com:johanmattssonm/birdfont

These changes was commited to the Birdfont repository Mon, 22 Jul 2019 13:30:32 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 22 Jul 2019 13:30:32 +0000 (15:30 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 22 Jul 2019 13:30:32 +0000 (15:30 +0200)
commit da24ac77ff8891002f4cec8a15543d5962213942
tree e9ba3dafd3c207f642cb9076d90c0d8103579978
parent 849638352acfadd64924645d47582a6c39d36bc8
parent 2068811f7276a0422d404a78f001bc6e98ceb732
Merge branch 'master' of github.com:johanmattssonm/birdfont

libbirdfont/Color.vala
--- a/libbirdfont/Color.vala +++ b/libbirdfont/Color.vala @@ -215,12 +215,12 @@ public string to_rgb_hex () { string s = "#"; - s += Font.to_hex_code ((unichar) Math.rint (r * 254)); - s += Font.to_hex_code ((unichar) Math.rint (g * 254)); - s += Font.to_hex_code ((unichar) Math.rint (b * 254)); + s += Font.to_hex_code ((unichar) Math.rint (r * 255)); + s += Font.to_hex_code ((unichar) Math.rint (g * 255)); + s += Font.to_hex_code ((unichar) Math.rint (b * 255)); return s; } } }