mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
Update webview_window.go (#2912)
This commit is contained in:
@@ -488,7 +488,7 @@ func (w *WebviewWindow) IsFocused() bool {
|
||||
if w.impl == nil {
|
||||
return false
|
||||
}
|
||||
return invokeSyncWithResult(w.impl.isFullscreen)
|
||||
return invokeSyncWithResult(w.impl.isFocused)
|
||||
}
|
||||
|
||||
// IsFullscreen returns true if the window is fullscreen
|
||||
|
||||
Reference in New Issue
Block a user