diff options
Diffstat (limited to '')
| -rw-r--r-- | src/citra_qt/bootmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index b81bd6167..a8bff9247 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp | |||
| @@ -288,7 +288,7 @@ void GRenderWindow::mousePressEvent(QMouseEvent *event) | |||
| 288 | void GRenderWindow::mouseMoveEvent(QMouseEvent *event) | 288 | void GRenderWindow::mouseMoveEvent(QMouseEvent *event) |
| 289 | { | 289 | { |
| 290 | auto pos = event->pos(); | 290 | auto pos = event->pos(); |
| 291 | this->TouchMoved(static_cast<unsigned>(pos.x()), static_cast<unsigned>(pos.y())); | 291 | this->TouchMoved(static_cast<unsigned>(std::max(pos.x(), 0)), static_cast<unsigned>(std::max(pos.y(), 0))); |
| 292 | } | 292 | } |
| 293 | 293 | ||
| 294 | void GRenderWindow::mouseReleaseEvent(QMouseEvent *event) | 294 | void GRenderWindow::mouseReleaseEvent(QMouseEvent *event) |