mirror of
https://github.com/Lightcord/Lightcord.git
synced 2025-04-12 00:55:40 +02:00
Always on top not working because I'm dumb
This commit is contained in:
parent
9809c564b4
commit
9dd0b1a585
@ -49,6 +49,7 @@ electron.ipcMain.on("LIGHTCORD_SET_ALWAYS_ON_TOP", (event, enabled) => {
|
||||
const window = electron.BrowserWindow.fromId(getMainWindowId())
|
||||
if(!window)return
|
||||
window.setAlwaysOnTop(enabled)
|
||||
event.returnValue = null
|
||||
})
|
||||
electron.ipcMain.on("LIGHTCORD_GET_BROWSERWINDOW_ID", (event) => {
|
||||
event.returnValue = getMainWindowId()
|
||||
|
Loading…
x
Reference in New Issue
Block a user