mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 10:28:27 +00:00
Increase clarity
This commit is contained in:
parent
bab95fbdbc
commit
b3622693a5
@ -23,7 +23,8 @@ impl OperationView {
|
||||
}
|
||||
|
||||
pub fn select_last(&mut self) {
|
||||
self.selected = self.operations().len().saturating_sub(1);
|
||||
let last_index = self.operations().len().saturating_sub(1);
|
||||
self.selected = last_index;
|
||||
}
|
||||
|
||||
pub fn select_next(&mut self) {
|
||||
|
Loading…
Reference in New Issue
Block a user