mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Remove scaledWidth, scaledHeight just use the values directly
This commit is contained in:
@@ -84,10 +84,8 @@ namespace CefSharp
|
||||
}
|
||||
|
||||
auto screenInfo = _renderWebBrowser->GetScreenInfo();
|
||||
|
||||
auto scaledWidth = screenInfo.Width;
|
||||
auto scaledHeight = screenInfo.Height;
|
||||
rect = CefRect(0, 0, scaledWidth, scaledHeight);
|
||||
;
|
||||
rect = CefRect(0, 0, screenInfo.Width, screenInfo.Height);
|
||||
|
||||
return true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user