diff --git a/gowebview.go b/gowebview.go index db7c7bf..a3b3b58 100644 --- a/gowebview.go +++ b/gowebview.go @@ -36,8 +36,7 @@ type WebView interface { SetSize(point *Point, hint Hint) // Navigate navigates webview to the given URL. URL may be a data URI, i.e. - // "data:text/text,...". It is often ok not to url-encode it - // properly, webview will re-encode it for you. + // "data:text/text,...". SetURL(url string) // SetVisibility updates the WindowMode, such as minimized or maximized diff --git a/gowebview_android.jar b/gowebview_android.jar index 07cec54..f9a45c6 100644 Binary files a/gowebview_android.jar and b/gowebview_android.jar differ diff --git a/gowebview_windows.go b/gowebview_windows.go index 9309b80..2da3bc0 100644 --- a/gowebview_windows.go +++ b/gowebview_windows.go @@ -256,6 +256,7 @@ func (w *webview) SetVisibility(v Visibility) { w32.ShowWindow(w.view.window, w32.SW_MINIMIZE) default: w32.ShowWindow(w.view.window, w32.SW_SHOWDEFAULT) + w32.SetForegroundWindow(w.view.window) } }