mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Fix PaintContext page_rect due to display list origin
This commit is contained in:
parent
496e45b190
commit
b1ad7ecc38
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ impl WorkerThread {
|
||||||
let mut paint_context = PaintContext {
|
let mut paint_context = PaintContext {
|
||||||
draw_target: draw_target.clone(),
|
draw_target: draw_target.clone(),
|
||||||
font_context: &mut self.font_context,
|
font_context: &mut self.font_context,
|
||||||
page_rect: Rect::from_untyped(&tile.page_rect),
|
page_rect: Rect::from_untyped(&tile.page_rect.translate(&paint_layer.display_list_origin)),
|
||||||
screen_rect: Rect::from_untyped(&tile.screen_rect),
|
screen_rect: Rect::from_untyped(&tile.screen_rect),
|
||||||
clip_rect: None,
|
clip_rect: None,
|
||||||
transient_clip: None,
|
transient_clip: None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue