MCPcopy Create free account
hub / github.com/Soundux/Soundux / onResize

Method onResize

src/ui/impl/webview/webview.cpp:295–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 return false;
294 }
295 void WebView::onResize(int width, int height)
296 {
297 Globals::gData.width = width;
298 Globals::gData.height = height;
299 }
300 void WebView::fetchTranslations()
301 {
302 webview->setNavigateCallback([this]([[maybe_unused]] const std::string &url) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected