mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-26 20:50:30 +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…
x
Reference in New Issue
Block a user