• rbpotter's avatar
    PDF Viewer: Disable two up button in annotation mode · f69edcd5
    rbpotter authored
    Two up mode is implemented in the plugin but not the ink controller,
    and triggering it causes a crash if the plugin is not on the page.
    
    Also fixing the following case:
    1. Rotate PDF. Annotation is disabled.
    2. Set 2 page view.
    3. Rotate PDF back to upright.
    
    Currently, annotation is re-enabled, despite still being in 2 page view.
    After this CL, annotation remains disabled, until two page view is
    turned off.
    
    Bug: 1048812
    Change-Id: I26c0cb43645c82905e1fe5b53398332573d8a774
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2411284Reviewed-by: default avatardpapad <dpapad@chromium.org>
    Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#807496}
    f69edcd5
viewer-pdf-toolbar-new.html 6.6 KB