fix:[mac] window level to show py input

This commit is contained in:
fullex 2025-04-09 18:17:08 +08:00 committed by 亢奋猫
parent a0be911dc9
commit 3462be2a2a

View File

@ -392,7 +392,8 @@ export class WindowService {
//miniWindow should show in current desktop
this.miniWindow?.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true })
//make miniWindow always on top of fullscreen apps with level set
this.miniWindow.setAlwaysOnTop(true, 'screen-saver', 1)
//[mac] level higher than 'floating' will cover the pinyin input method
this.miniWindow.setAlwaysOnTop(true, 'floating')
this.miniWindow.on('ready-to-show', () => {
if (isPreload) {