diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-02-10 04:56:33 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-02-10 04:57:37 +0100 |
commit | 3fbb93e5c92849fe3d747211222a15cab2b11610 (patch) | |
tree | 114c8ff006961a65b66741280a7a335a9d5239d3 | |
parent | Merge pull request #9736 from Kelebek1/dynamic_vertex_attribs (diff) | |
download | yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.tar yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.tar.gz yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.tar.bz2 yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.tar.lz yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.tar.xz yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.tar.zst yuzu-3fbb93e5c92849fe3d747211222a15cab2b11610.zip |
-rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index f28268e9b..c278d8dab 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -805,6 +805,8 @@ void GMainWindow::WebBrowserOpenWebPage(const std::string& main_url, layout.screen.GetHeight() / scale_ratio); web_browser_view.move(layout.screen.left / scale_ratio, (layout.screen.top / scale_ratio) + menuBar()->height()); + web_browser_view.setZoomFactor(static_cast<qreal>(layout.screen.GetWidth() / scale_ratio) / + static_cast<qreal>(Layout::ScreenUndocked::Width)); web_browser_view.setFocus(); web_browser_view.show(); |