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:
parent
e598337655
commit
5b98066a48
1 changed files with 2 additions and 0 deletions
|
|
@ -974,6 +974,8 @@ private:
|
|||
|
||||
void setWebViewPreferences()
|
||||
{
|
||||
setControlVisible (owner.isShowing());
|
||||
|
||||
ComSmartPtr<ICoreWebView2Controller2> controller2;
|
||||
webViewController->QueryInterface (controller2.resetAndGetPointerAddress());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue