mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 11:58:27 +00:00
Fix selection in operation list
This commit is contained in:
parent
5a81970418
commit
915b0155f9
@ -56,7 +56,7 @@ impl OperationView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn last_index(&self) -> usize {
|
fn last_index(&self) -> usize {
|
||||||
self.operations().count().saturating_sub(1)
|
self.children.len().saturating_sub(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user