Using the new transparent_black() in the proper places.

This commit is contained in:
Adenilson Cavalcanti 2015-02-03 18:08:30 -08:00
parent e1db06475c
commit ffa23088ff
3 changed files with 3 additions and 3 deletions

View file

@ -677,7 +677,7 @@ impl LayoutTask {
.to_gfx_color()
};
let black = color::black();
let black = color::transparent_black();
// TODO: Use equality operators when we sync with rust-azure.
if element_bg_color.r != black.r || element_bg_color.g != black.g ||
element_bg_color.b != black.b || element_bg_color.a != black.a {