mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge c70d471afe into 29396c22c9
This commit is contained in:
commit
40d65ba166
1 changed files with 4 additions and 0 deletions
|
|
@ -906,6 +906,10 @@ public:
|
||||||
configuration: config.get()]);
|
configuration: config.get()]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if JUCE_DEBUG
|
||||||
|
[webView.get() setValue:@(true) forKey:@"inspectable"];
|
||||||
|
#endif
|
||||||
|
|
||||||
if (const auto userAgent = browserOptions.getUserAgent(); userAgent.isNotEmpty())
|
if (const auto userAgent = browserOptions.getUserAgent(); userAgent.isNotEmpty())
|
||||||
webView.get().customUserAgent = juceStringToNS (userAgent);
|
webView.get().customUserAgent = juceStringToNS (userAgent);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue