early-access version 1910
This commit is contained in:
parent
0231219b26
commit
ed2b2790d5
3 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 1909.
|
||||
This is the source code for early-access 1910.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
|
|
@ -334,6 +334,7 @@ void RendererOpenGL::DrawScreen(const Layout::FramebufferLayout& layout) {
|
|||
Settings::values.bg_green.GetValue() / 255.0f,
|
||||
Settings::values.bg_blue.GetValue() / 255.0f, 1.0f);
|
||||
}
|
||||
|
||||
// Set projection matrix
|
||||
const std::array ortho_matrix =
|
||||
MakeOrthographicMatrix(static_cast<float>(layout.width), static_cast<float>(layout.height));
|
||||
|
|
|
@ -371,7 +371,7 @@ void QtNXWebEngineView::FocusFirstLinkElement() {
|
|||
QWebEngineScript focus_link_element;
|
||||
|
||||
constexpr char FOCUS_LINK_ELEMENT_SCRIPT[] =
|
||||
R"(document.getElementsByTagName("a")[0].focus();)";
|
||||
R"(if(document.getElementsByTagName("a").length > 0) document.getElementsByTagName("a")[0].focus();)";
|
||||
|
||||
focus_link_element.setName(QStringLiteral("focus_link_element.js"));
|
||||
focus_link_element.setSourceCode(QString::fromStdString(FOCUS_LINK_ELEMENT_SCRIPT));
|
||||
|
|
Loading…
Reference in a new issue