mirror of
				https://git.h3cjp.net/H3cJP/citra.git
				synced 2025-11-04 09:05:08 +00:00 
			
		
		
		
	Merge pull request #9761 from Morph1984/oops
main: Re-add QtWebEngine zoom factor
This commit is contained in:
		
						commit
						b3a8c0dc49
					
				| 
						 | 
				
			
			@ -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();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue