mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
interpreter: Replace ComponentPositions
with a simple Vec<LogicalRect>
... now that the Vec is the only member of `ComponentPosiitons`.
This commit is contained in:
parent
fd9e234197
commit
b7d2a30b81
4 changed files with 15 additions and 24 deletions
|
@ -1202,7 +1202,7 @@ impl ComponentInstance {
|
|||
&self,
|
||||
path: &Path,
|
||||
offset: u32,
|
||||
) -> crate::highlight::ComponentPositions {
|
||||
) -> Vec<i_slint_core::lengths::LogicalRect> {
|
||||
crate::highlight::component_positions(&self.inner, path, offset)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue