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
Open
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#8200OzkurtSelcuk wants to merge 1 commit into
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#8200OzkurtSelcuk wants to merge 1 commit into
Commits
Commits on Jul 15, 2026
- committed
Selçuk Özkurt