Skip to content

Conversation

octocorvus
Copy link
Contributor

No description provided.

@octocorvus octocorvus force-pushed the edge-to-edge-3 branch 2 times, most recently from 7cd0755 to 0c4cb49 Compare September 4, 2025 19:28
The page element is a container for the canvas and text layer and helps
to keep the layers aligned. The following changes were also needed:
- Only center PDF pages horizontally. Vertical centering was often the
  cause of text layer misalignment and additional code was often needed
  to fix the alignment. Moreover, vertical centering doesn't make sense
  when there are multiple PDF pages within the same DOM. So, drop it
  completely.
- Drop old text layer alignment method.
We add padding to account for system insets and app toolbar size.
Prevents jank which happens due to --scale-factor not being set to
correct value before canvas is displayed.
Allows gradle to determine whether running a task is necessary or not.
@octocorvus octocorvus marked this pull request as ready for review October 3, 2025 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant