Skip to content

Hi! This PR fixes an issue where alpha values less than 1 (such as 0.05) would generate a single-character hex representation for the alpha channel (e.g., d instead of 0d). This resulted in an invalid 7-character hex string which broke background transparency when opening new windows or restarting the application. I solved this by adding .padStart(2, '0') to the alphaHex generation in to-electron-background-color.ts to guarantee a valid 8-character hex output. Closes #2847fix: pad single-character hex values in electron background color#8200

Open
OzkurtSelcuk wants to merge 1 commit into
vercel:canaryfrom
OzkurtSelcuk:fix/alpha-color-padding

Conversation

@OzkurtSelcuk

Copy link
Copy Markdown

No description provided.

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