mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-27 06:02:25 -07:00
Add default hotkey to swap primary screens.
Also minor style changes
This commit is contained in:
@@ -45,10 +45,8 @@ struct Rectangle {
|
||||
return Rectangle{left, top + y, right, bottom + y};
|
||||
}
|
||||
Rectangle<T> Scale(const float s) const {
|
||||
ASSERT(s > 0);
|
||||
return Rectangle {
|
||||
left, top, static_cast<T>((right + left) * s), static_cast<T>((top + bottom) * s)
|
||||
};
|
||||
return Rectangle{left, top, static_cast<T>((right + left) * s),
|
||||
static_cast<T>((top + bottom) * s)};
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user