Send more viewport_changed, just in case.
This commit is contained in:
parent
4a5d8aa217
commit
0067245739
|
@ -712,6 +712,7 @@ bool Panel::createWebview(const Webview::ThemeParams ¶ms) {
|
||||||
view->setGeometry(geometry.marginsRemoved({ 0, 0, 0, footer }));
|
view->setGeometry(geometry.marginsRemoved({ 0, 0, 0, footer }));
|
||||||
crl::on_main(view, [=] {
|
crl::on_main(view, [=] {
|
||||||
sendViewport();
|
sendViewport();
|
||||||
|
InvokeQueued(view, [=] { sendViewport(); });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, _webview->lifetime);
|
}, _webview->lifetime);
|
||||||
|
|
Loading…
Reference in New Issue