mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 03:32:17 +08:00
keep always on top
This commit is contained in:
parent
708944d078
commit
0e129ab00f
|
@ -1,4 +1,4 @@
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- 修复开启轻量模式后 TrafficMonitor 重复启动的问题
|
- 修复开启轻量模式后 TrafficMonitor 重复启动的问题
|
||||||
- 修复 TrafficMonitor 重复开关后位置偏移的问题
|
- 修复 悬浮窗置顶失效的问题
|
||||||
|
|
|
@ -37,6 +37,7 @@ async function createFloatingWindow(): Promise<void> {
|
||||||
floatingWindow.on('ready-to-show', () => {
|
floatingWindow.on('ready-to-show', () => {
|
||||||
applyTheme(customTheme)
|
applyTheme(customTheme)
|
||||||
floatingWindow?.show()
|
floatingWindow?.show()
|
||||||
|
floatingWindow?.setAlwaysOnTop(true, 'screen-saver')
|
||||||
})
|
})
|
||||||
floatingWindow.on('moved', () => {
|
floatingWindow.on('moved', () => {
|
||||||
if (floatingWindow) floatingWindowState.saveState(floatingWindow)
|
if (floatingWindow) floatingWindowState.saveState(floatingWindow)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user