2
0
mirror of https://github.com/xvxx/phetch synced 2024-11-05 00:00:58 +00:00
This commit is contained in:
dvkt 2019-12-30 20:44:51 -08:00
parent 3230256545
commit 82779f5f2a

View File

@ -221,11 +221,9 @@ impl Menu {
return Action::Redraw;
}
}
} else {
if !self.links.is_empty() {
self.link = self.links.len() - 1;
return Action::Redraw;
}
} else if !self.links.is_empty() {
self.link = self.links.len() - 1;
return Action::Redraw;
}
if let Some(dir) = self.link_visibility(self.link) {
match dir {