IntToRGBA sets alpha to 255

This commit is contained in:
ouwou 2021-03-07 02:59:23 -05:00
parent 4657e37249
commit 447e3f8d38

View File

@ -139,6 +139,7 @@ Gdk::RGBA IntToRGBA(int color) {
ret.set_red(((color & 0xFF0000) >> 16) / 255.0);
ret.set_green(((color & 0x00FF00) >> 8) / 255.0);
ret.set_blue(((color & 0x0000FF) >> 0) / 255.0);
ret.set_alpha(255.0);
return ret;
}