diff --git a/Meta/Lagom/Contrib/MacPDF/MacPDFView.mm b/Meta/Lagom/Contrib/MacPDF/MacPDFView.mm index 89d11184ec..359d3c6d6a 100644 --- a/Meta/Lagom/Contrib/MacPDF/MacPDFView.mm +++ b/Meta/Lagom/Contrib/MacPDF/MacPDFView.mm @@ -164,6 +164,12 @@ static NSBitmapImageRep* ns_from_gfx(NonnullRefPtr bitmap_p) [self interpretKeyEvents:@[ event ]]; } +// Called on down arrow. +- (IBAction)moveDown:(id)sender +{ + [self goToNextPage:self]; +} + // Called on left arrow. - (IBAction)moveLeft:(id)sender { @@ -176,6 +182,12 @@ static NSBitmapImageRep* ns_from_gfx(NonnullRefPtr bitmap_p) [self goToNextPage:self]; } +// Called on up arrow. +- (IBAction)moveUp:(id)sender +{ + [self goToPreviousPage:self]; +} + #pragma mark - State restoration - (void)encodeRestorableStateWithCoder:(NSCoder*)coder