Skip to content

Commit

Permalink
Merge pull request #24 from author-more/fix/windows-settings-button
Browse files Browse the repository at this point in the history
fix: settings button to be next to the controls
  • Loading branch information
Belar authored Nov 25, 2024
2 parents bbd76dc + 296712f commit 6b5af04
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 6b5af04

Please sign in to comment.