mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Change a fold
to an any
This commit is contained in:
parent
6ce4e62e11
commit
952bb4e238
1 changed files with 1 additions and 2 deletions
|
@ -401,8 +401,7 @@ impl CompositorData {
|
|||
|
||||
layer.children().filter(|x| !x.extra_data.borrow().hidden)
|
||||
.map(transform)
|
||||
.fold(false, |a, b| a || b) || redisplay
|
||||
|
||||
.any(|b| b) || redisplay
|
||||
}
|
||||
|
||||
// Move the sublayer to an absolute position in page coordinates relative to its parent,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue