mirror of
https://gitee.com/energye/energy.git
synced 2024-11-29 18:28:06 +08:00
修复window-parent引起的输入法位置问题
This commit is contained in:
parent
ebaa9c90f4
commit
c8cd9c921d
@ -504,11 +504,6 @@ func (m *LCLBrowserWindow) ChromiumCreate(config *TCefChromiumConfig, defaultUrl
|
||||
}
|
||||
m.Chromium().SendCaptureLostEvent()
|
||||
})
|
||||
m.Chromium().SetOnGotFocus(func(sender lcl.IObject, browser *ICefBrowser) {
|
||||
if m.IsValid() {
|
||||
m.WindowParent().SetFocus()
|
||||
}
|
||||
})
|
||||
// 主窗口、子窗口chromium检测
|
||||
if m.WindowProperty().WindowType != consts.WT_DEV_TOOLS {
|
||||
window.CurrentBrowseWindowCache = m
|
||||
|
Loading…
Reference in New Issue
Block a user