mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
this and that, see: https://github.com/peters/CefSharp/commit/ea2fbf6dcf7645149c80cde48c8afbfd40bd95a4#commitcomment-8110807
This commit is contained in:
@@ -59,8 +59,9 @@ namespace CefSharp
|
||||
return false;
|
||||
}
|
||||
|
||||
// Block until the source window is ready
|
||||
while (_renderWebBrowser->Width == 0 && _renderWebBrowser->Height == 0) {
|
||||
// block until the source window is ready
|
||||
::Sleep(50);
|
||||
}
|
||||
|
||||
rect = CefRect(0, 0, _renderWebBrowser->Width, _renderWebBrowser->Height);
|
||||
|
||||
Reference in New Issue
Block a user