pvginkel / PdfiumViewer

PDF viewer based on Google's PDFium.
Apache License 2.0
967 stars 418 forks source link

Missed handling of Left and Right keys. #31

Closed Nedayvozov closed 9 years ago

Nedayvozov commented 9 years ago

Hello,

I believe that in the IsInputKey(Keys keyData) method of PanningZoomingScrollControl class was missed code to handle clicking on Left and Right buttons:

case Keys.Left:
    PerformScroll(ScrollAction.LineUp, Orientation.Horizontal);
    return true;

case Keys.Right:
    PerformScroll(ScrollAction.LineDown, Orientation.Horizontal);
    return true;

Thanks,