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

fix: pad single-character hex values in electron background color

5063188
Select commit
Loading
Failed to load commit list.
Socket Security / Socket Security: Project Report succeeded Jul 15, 2026 in 17s

Project Report: Success

Report Status Message
Project report View full report

Click through to the see the full socket security project report page for this commit to see information about every dependency in this project.