mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
fix touchscreen bug on Wayland
This commit is contained in:
@ -214,7 +214,7 @@ void ScreenPanel::mouseMoveEvent(QMouseEvent* event)
|
|||||||
|
|
||||||
showCursor();
|
showCursor();
|
||||||
|
|
||||||
if (!(event->buttons() & Qt::LeftButton)) return;
|
//if (!(event->buttons() & Qt::LeftButton)) return;
|
||||||
if (!touching) return;
|
if (!touching) return;
|
||||||
|
|
||||||
int x = event->pos().x();
|
int x = event->pos().x();
|
||||||
|
Reference in New Issue
Block a user