Remove position abbreviation in Component

This commit is contained in:
Héctor Ramón Jiménez 2022-01-20 13:50:42 +07:00
parent 41bd984d6b
commit a1311bcc5e
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -271,8 +271,11 @@ where
.map(|overlay| overlay.position()) .map(|overlay| overlay.position())
}); });
has_overlay.map(|pos| { has_overlay.map(|position| {
overlay::Element::new(pos, Box::new(Overlay { instance: self })) overlay::Element::new(
position,
Box::new(Overlay { instance: self }),
)
}) })
} }
} }