mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
Qt/TAS: Fix issue #11620
This commit is contained in:
parent
8bad3f93f1
commit
04583b17da
4 changed files with 8 additions and 2 deletions
|
@ -62,11 +62,13 @@ void StickWidget::paintEvent(QPaintEvent* event)
|
|||
void StickWidget::mousePressEvent(QMouseEvent* event)
|
||||
{
|
||||
handleMouseEvent(event);
|
||||
m_ignore_movement = event->button() == Qt::RightButton;
|
||||
}
|
||||
|
||||
void StickWidget::mouseMoveEvent(QMouseEvent* event)
|
||||
{
|
||||
handleMouseEvent(event);
|
||||
if (!m_ignore_movement)
|
||||
handleMouseEvent(event);
|
||||
}
|
||||
|
||||
void StickWidget::handleMouseEvent(QMouseEvent* event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue