mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Uppercase S in OffScreen - match caseing of CefSharp.OffScreen project name
Use property syntax for brevity (can use short hand in ref classes)
This commit is contained in:
@@ -73,7 +73,6 @@ namespace CefSharp
|
||||
{
|
||||
private:
|
||||
bool _isFinalized;
|
||||
Nullable<bool>^ _offscreenTransparentBackground;
|
||||
|
||||
internal:
|
||||
CefBrowserSettings* _browserSettings;
|
||||
@@ -276,11 +275,6 @@ namespace CefSharp
|
||||
void set(Nullable<bool>^ value) { _browserSettings->webgl = CefStateFromDisabledSetting(value); }
|
||||
}
|
||||
|
||||
property Nullable<bool>^ OffscreenTransparentBackground
|
||||
{
|
||||
Nullable<bool>^ get() { return _offscreenTransparentBackground; }
|
||||
void set(Nullable<bool>^ value) { _offscreenTransparentBackground = value; }
|
||||
}
|
||||
|
||||
property Nullable<bool>^ OffScreenTransparentBackground;
|
||||
};
|
||||
}
|
||||
@@ -75,7 +75,7 @@ namespace CefSharp
|
||||
auto hwnd = static_cast<HWND>(windowHandle.ToPointer());
|
||||
|
||||
CefWindowInfo window;
|
||||
auto transparent = browserSettings->OffscreenTransparentBackground->GetValueOrDefault(true);
|
||||
auto transparent = browserSettings->OffScreenTransparentBackground->GetValueOrDefault(true);
|
||||
window.SetAsWindowless(hwnd, transparent);
|
||||
CefString addressNative = StringUtils::ToNative(address);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user