MCPcopy
hub / github.com/ZToolsCenter/ZTools / backToSearch

Method backToSearch

src/main/managers/windowManager.ts:992–999  ·  view source on GitHub ↗

* 返回搜索界面

()

Source from the content-addressed store, hash-verified

990 * 返回搜索界面
991 */
992 private backToSearch(): void {
993 if (!this.mainWindow) return
994
995 pluginManager.hidePluginView()
996 // 通知渲染进程返回搜索并切换模式
997 this.notifyBackToSearch()
998 console.log('[Window] 已触发自动返回搜索')
999 }
1000
1001 /**
1002 * 获取自动返回搜索的延时时间(毫秒)

Callers 1

Calls 2

notifyBackToSearchMethod · 0.95
hidePluginViewMethod · 0.80

Tested by

no test coverage detected