Skip to content

Commit

Permalink
fix: settings button to be next to the controls
Browse files Browse the repository at this point in the history
  • Loading branch information
Belar committed Nov 25, 2024
1 parent bbd76dc commit 296712f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/process/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ module.exports = {
mainWindow.webContents.executeJavaScript(`document.querySelector(".linux-titlebar").style.display = 'block'`)
}, 1500);
}
if (process.platform === 'win32') {
setTimeout(() => {
mainWindow.webContents.executeJavaScript(`document.querySelector(".titlebar").style.right = '145px'`)
}, 1500);
}
}
}

0 comments on commit 296712f

Please sign in to comment.