mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 15:48:51 +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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue