Add default hotkey to swap primary screens.

Also minor style changes
This commit is contained in:
James Rowe 2016-11-05 02:58:11 -06:00
parent 8e64c6c170
commit 72786d410e
10 changed files with 27 additions and 13 deletions

View file

@ -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)};
}
};