how can i add dragging functionality to my custom electron title bar code example
Example 1: electron draggable
button {
-webkit-app-region: no-drag;
}
Example 2: no frame electron
const mainWindow = new BrowserWindow({
width: 1600,
height: 900,
frame: false,
});