mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Qt/TAS: Fix issue #11620
This commit is contained in:
@ -61,11 +61,13 @@ void IRWidget::paintEvent(QPaintEvent* event)
|
||||
void IRWidget::mousePressEvent(QMouseEvent* event)
|
||||
{
|
||||
handleMouseEvent(event);
|
||||
m_ignore_movement = event->button() == Qt::RightButton;
|
||||
}
|
||||
|
||||
void IRWidget::mouseMoveEvent(QMouseEvent* event)
|
||||
{
|
||||
handleMouseEvent(event);
|
||||
if (!m_ignore_movement)
|
||||
handleMouseEvent(event);
|
||||
}
|
||||
|
||||
void IRWidget::handleMouseEvent(QMouseEvent* event)
|
||||
|
Reference in New Issue
Block a user