mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement middle click controller for history navigation buttons
This commit is contained in:
parent
b9b91fb628
commit
2b472eb618
8 changed files with 115 additions and 44 deletions
|
|
@ -69,11 +69,11 @@ impl History {
|
|||
self.forward.set_enabled(self.forward(false).is_some());
|
||||
}
|
||||
|
||||
pub fn back(&self, follow_to_index: bool) -> Option<GString> {
|
||||
self.memory.back(follow_to_index)
|
||||
pub fn back(&self, is_follow_to_index: bool) -> Option<GString> {
|
||||
self.memory.back(is_follow_to_index)
|
||||
}
|
||||
|
||||
pub fn forward(&self, follow_to_index: bool) -> Option<GString> {
|
||||
self.memory.next(follow_to_index)
|
||||
pub fn forward(&self, is_follow_to_index: bool) -> Option<GString> {
|
||||
self.memory.next(is_follow_to_index)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue