Skip to content

Commit

Permalink
Toggle the bitonal mode when holding the BR corner
Browse files Browse the repository at this point in the history
  • Loading branch information
baskerville committed Oct 4, 2018
1 parent 8ebe587 commit e99e8ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Gestures by region:
- Hold: guess the frontlight if there's more than two frontlight presets defined, toggle the frontlight otherwise.
- *BR* (Bottom Right Corner):
- Tap: go to page in normal mode, next page in search mode.
- Hold: invert colors.
- Hold: toggle the bitonal mode.

Swipe west/east to go to the next/previous page.

Expand Down
2 changes: 1 addition & 1 deletion src/view/reader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ impl View for Reader {
self.go_to_bookmark(CycleDir::Next, hub);
// Bottom right corner.
} else if center.y > self.rect.max.y - dx {
hub.send(Event::Select(EntryId::ToggleInverted)).unwrap();
hub.send(Event::Select(EntryId::ToggleMonochrome)).unwrap();
// Right ear.
} else {
if self.search.is_none() {
Expand Down

0 comments on commit e99e8ae

Please sign in to comment.