mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Using the new transparent_black() in the proper places.
This commit is contained in:
parent
e1db06475c
commit
ffa23088ff
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue