forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scanning: Fix multi-page scrolling algorithm
- This change updates the scrolling/page focus algorithm. The previous one had limitations that kept users from scrolling through all the images in certain use cases. - The new algorithm divides the total scroll area of the scanned images into proportionate intervals based on each individual image's height. These intervals are used to determine which image should be focused on based on the position of the scroll bar. video: https://drive.google.com/file/d/1AR0JvWxH2dznG6mLwK4BdsBxSv-Ofb9b/view?usp=sharing&resourcekey=0-hBgOBMXyox4Mhebltn42Nw Bug: 1259258 Change-Id: I2eb5bea9c00a3322b0e06d0e605c86ebcb18d6a7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3218432 Commit-Queue: Gavin Williams <gavinwill@chromium.org> Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org> Cr-Commit-Position: refs/heads/main@{#930727}
- Loading branch information
Gavin Williams
authored and
Chromium LUCI CQ
committed
Oct 12, 2021
1 parent
a493b8f
commit dcaed10
Showing
1 changed file
with
60 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters