mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 11:58: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) {
|
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) {
|
pub fn select_next(&mut self) {
|
||||||
|
Loading…
Reference in New Issue
Block a user