Send more viewport_changed, just in case.

This commit is contained in:
John Preston 2024-10-31 20:32:41 +04:00
parent 4a5d8aa217
commit 0067245739
1 changed files with 1 additions and 0 deletions

View File

@ -712,6 +712,7 @@ bool Panel::createWebview(const Webview::ThemeParams &params) {
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);