layout: Separate LayoutDamage bit patterns nibbles with _ (#38476)

Using `_` on such long bit patterns makes them easier to read.

Testing: Just formatting.
Fixes: #38474

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
sagudev 2025-08-05 14:43:16 +02:00 committed by GitHub
parent 3eddfeaee2
commit f3644422c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,10 +12,10 @@ bitflags! {
pub struct LayoutDamage: u16 {
/// Recollect the box children for this element, because some of the them will be
/// rebuilt.
const RECOLLECT_BOX_TREE_CHILDREN = 0b011111111111 << 4;
const RECOLLECT_BOX_TREE_CHILDREN = 0b0111_1111_1111 << 4;
/// Rebuild the entire box for this element, which means that every part of layout
/// needs to happena again.
const REBUILD_BOX = 0b111111111111 << 4;
const REBUILD_BOX = 0b1111_1111_1111 << 4;
}
}