Skip to content

fix(spectrogram): prevent errors for zero width#376

Merged
tlecomte merged 1 commit into
masterfrom
fixCanvasWidthError
Sep 14, 2025
Merged

fix(spectrogram): prevent errors for zero width#376
tlecomte merged 1 commit into
masterfrom
fixCanvasWidthError

Conversation

@tlecomte

Copy link
Copy Markdown
Owner

Sometimes the screen width can be returned as zero, and this can in turn cause issues creating pixmaps. Make sure the width is always at least 1.

Sometimes the screen width can be returned as zero, and this can in turn cause issues creating pixmaps. Make sure the width is always at least 1.
@tlecomte tlecomte merged commit 27e6d3a into master Sep 14, 2025
4 checks passed
@tlecomte tlecomte deleted the fixCanvasWidthError branch September 14, 2025 09:37
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