You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am using PdfView in 2 modes: navigation mode, where clicking left or right of the screen turns pages left or right, and zoom mode where double clicking just zooms in. But when I'm switching from zoom back to navigation mode, I would like to reset the scale so that the document shows up like it was before I activated zoom mode. Right now, the only solution is to double click until the document scale is reset and then come out of zoom mode.
Describe the solution you'd like
I would like to have a resetScale() method on PdfController or PdfViewState (made public) to reset the scale programmatically.
Describe alternatives you've considered
Weirdly, when I programmatically jump to the next page after coming out of zoom mode, it resets the scale, but I can't make it work right away.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am using PdfView in 2 modes: navigation mode, where clicking left or right of the screen turns pages left or right, and zoom mode where double clicking just zooms in. But when I'm switching from zoom back to navigation mode, I would like to reset the scale so that the document shows up like it was before I activated zoom mode. Right now, the only solution is to double click until the document scale is reset and then come out of zoom mode.
Describe the solution you'd like
I would like to have a
resetScale()
method onPdfController
or PdfViewState (made public) to reset the scale programmatically.Describe alternatives you've considered
Weirdly, when I programmatically jump to the next page after coming out of zoom mode, it resets the scale, but I can't make it work right away.
The text was updated successfully, but these errors were encountered: