1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: WebBrowserComponent: Fix visibility of initially not visible component

Prior to this commit a WebBrowserComponent created with
setVisible (false) would still be visible.
This commit is contained in:
attila 2024-08-26 18:39:21 +02:00
parent e598337655
commit 5b98066a48

View file

@ -974,6 +974,8 @@ private:
void setWebViewPreferences()
{
setControlVisible (owner.isShowing());
ComSmartPtr<ICoreWebView2Controller2> controller2;
webViewController->QueryInterface (controller2.resetAndGetPointerAddress());