From 798e4635f8fb9740b9f0a7c936fa8d60e91bfc4f Mon Sep 17 00:00:00 2001 From: amaitland Date: Fri, 2 Aug 2019 20:14:02 +1000 Subject: [PATCH] Wpf - Fix Typo built instead of build --- CefSharp.Wpf/ChromiumWebBrowser.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CefSharp.Wpf/ChromiumWebBrowser.cs b/CefSharp.Wpf/ChromiumWebBrowser.cs index e615f53e0..64092b899 100644 --- a/CefSharp.Wpf/ChromiumWebBrowser.cs +++ b/CefSharp.Wpf/ChromiumWebBrowser.cs @@ -966,7 +966,7 @@ namespace CefSharp.Wpf //When using a custom it appears we need to update the cursor in a sync fashion //Likely the underlying handle/buffer is being released before the cursor // is created when executed in an async fashion. Doesn't seem to be a problem - //for build in cursor types + //for built in cursor types UiThreadRunSync(() => { Cursor = CursorInteropHelper.Create(new SafeFileHandle(handle, ownsHandle: false)); @@ -1899,6 +1899,8 @@ namespace CefSharp.Wpf if (isVisible) { + host.Invalidate(PaintElementType.View); + //Fix for #1778 - When browser becomes visible we update the zoom level //browsers of the same origin will share the same zoomlevel and //we need to track the update, so our ZoomLevelProperty works