I have an electron window with these properties:
mainWindow = new BrowserWindow({
width: 800,
height: 600,
title: "Aqua",
frame: false,
transparent: true,
show: false,
fullscreenable: false,
webPreferences: {
plugins: true
}
})
When I start it, everything works fine. But because my titlebar only shows on hover, I have an ugly edge on top and rounded edges on the bottom. I now want all of my corners to have a 0px radius. According to other resources on the Internet, it should automatically be 0px radius when the window is frameless and transparent. This does not work for me. How can I make my edges sharp with no radius on the whole window?
If you need my code, here is my CSS, here my main.js and here my HTML.