Skip to content

Avoid a flash of white when loading images without W/L info#750

Merged
floryst merged 1 commit into
mainfrom
no-flash-of-white-wl
Jun 4, 2025
Merged

Avoid a flash of white when loading images without W/L info#750
floryst merged 1 commit into
mainfrom
no-flash-of-white-wl

Conversation

@floryst

@floryst floryst commented Jun 3, 2025

Copy link
Copy Markdown
Contributor

Sets the default W/L to be (1, 2^32-1), which will make images appear all black until proper W/L info is computed. 2^32-1 was picked b/c it's sufficiently large to force black.

@floryst floryst requested a review from PaulHax June 3, 2025 18:00
@netlify

netlify Bot commented Jun 3, 2025

Copy link
Copy Markdown

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit e6b1f0b
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/683f384b88bcbb000898715a
😎 Deploy Preview https://deploy-preview-750--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PaulHax PaulHax left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works good.

@floryst floryst added this pull request to the merge queue Jun 4, 2025
Merged via the queue into main with commit 8b2b3ea Jun 4, 2025
7 checks passed
@zachmullen zachmullen deleted the no-flash-of-white-wl branch November 11, 2025 16:19
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.

2 participants