0x61726b/electron-vibrancy

White background at corners

Closed this issue · 3 comments

I'm noticing white backgrounds behind the corners if I have an element up against the edge of the window (such as with a titlebar). This is not occurring if I disable electron-vibrancy. This is in macOS Sierra using Electron v1.4.5. It seems to occur on both retina and non-retina displays.

image

Hey, can you take a loot at caprine ? There doesn't seem a white background on the screenshots posted there. Maybe try with a dark material ? And it would be better if you can replicate the issue on the test app so I can help further.

Ok, Caprine doesn't have a problem. Neither does my app when I set the material to 9. However, I am able to demonstrate the problem on the test app:

https://github.com/chuckhendo/electron-vibrancy

Hey the PR for vibrancy in Electron has been merged to master. So I'd advise to wait for it to hit the release version and stop using this module.