mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
oh la la! dirty, dirty dirty.. temp fix for getting stuff working so we can continue development until a proper fix can be devised
This commit is contained in:
@@ -58,11 +58,13 @@ namespace CefSharp
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
rect = CefRect(0, 0, _renderWebBrowser->Width, _renderWebBrowser->Height);
|
||||
return true;
|
||||
|
||||
while (_renderWebBrowser->Width == 0 && _renderWebBrowser->Height == 0) {
|
||||
// block until the source window is ready
|
||||
}
|
||||
|
||||
rect = CefRect(0, 0, _renderWebBrowser->Width, _renderWebBrowser->Height);
|
||||
return true;
|
||||
};
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user