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