interpreter: Replace ComponentPositions with a simple Vec<LogicalRect>

... now that the Vec is the only member of `ComponentPosiitons`.
This commit is contained in:
Tobias Hunger 2024-03-20 12:34:00 +01:00 committed by Tobias Hunger
parent fd9e234197
commit b7d2a30b81
4 changed files with 15 additions and 24 deletions

View file

@ -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)
}