mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
layout: Make transform changes require incremental repaint.
The progress bar in browser.html was only accidentally working before, so actually making use of `REPAINT` makes it stop working without this change.
This commit is contained in:
parent
e95368df62
commit
21ea8eef19
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ pub fn compute_damage(old: Option<&Arc<ComputedValues>>, new: &ComputedValues) -
|
|||
[ REPAINT ], [
|
||||
get_color.color, get_background.background_color,
|
||||
get_border.border_top_color, get_border.border_right_color,
|
||||
get_border.border_bottom_color, get_border.border_left_color
|
||||
get_border.border_bottom_color, get_border.border_left_color,
|
||||
get_effects.transform
|
||||
]);
|
||||
|
||||
add_if_not_equal!(old, new, damage,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue