Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up some code in the DoublePagedPager.tsx #106

Merged
merged 1 commit into from May 28, 2021

Conversation

Manchewable
Copy link
Contributor

Description

Preloads images by loading img elements into the preload div.

Changes

  • Changed pagesRef to reference HTMLImageElements directly.
  • Renders img elements opposed to Page components in the preload.
  • Added style for preload div to display nothing.

@AriaMoradi AriaMoradi merged commit 2ae5e07 into Suwayomi:master May 28, 2021
@Manchewable Manchewable deleted the preload-img-ref branch May 28, 2021 20:03
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.

None yet

2 participants