Change a fold to an any

This commit is contained in:
Cameron Zwarich 2014-07-03 21:08:56 -07:00
parent 6ce4e62e11
commit 952bb4e238

View file

@ -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,