mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -154,7 +154,7 @@ impl<'a> PaintContext<'a> {
|
|||
}
|
||||
|
||||
pub fn clear(&self) {
|
||||
let pattern = ColorPattern::new(color::black());
|
||||
let pattern = ColorPattern::new(color::transparent_black());
|
||||
let rect = Rect(Point2D(self.page_rect.origin.x as AzFloat,
|
||||
self.page_rect.origin.y as AzFloat),
|
||||
Size2D(self.screen_rect.size.width as AzFloat,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue