Remove position abbreviation in Component
This commit is contained in:
parent
41bd984d6b
commit
a1311bcc5e
1 changed files with 5 additions and 2 deletions
|
|
@ -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 }),
|
||||||
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue