FIX: [STUDIO-1570] webview background color
Change-Id: Icdf41659f4ab18ce30c8b0f585bf702991531599
This commit is contained in:
parent
fe50bcb5a0
commit
dcb9862410
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ wxWebView* WebView::CreateWebView(wxWindow * parent, wxString const & url)
|
||||||
|
|
||||||
auto webView = wxWebView::New();
|
auto webView = wxWebView::New();
|
||||||
if (webView) {
|
if (webView) {
|
||||||
|
webView->SetBackgroundColour(StateColor::darkModeColorFor(*wxWHITE));
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
webView->SetUserAgent(wxString::Format("BBL-Slicer/v%s (%s) Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
|
webView->SetUserAgent(wxString::Format("BBL-Slicer/v%s (%s) Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
|
||||||
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52", SLIC3R_VERSION,
|
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52", SLIC3R_VERSION,
|
||||||
|
|
Loading…
Reference in a new issue