mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-08 08:04:08 +02:00
Restore mouse button release hack in title widget event filter
This commit is contained in:
parent
658671089e
commit
99b7f051c7
1 changed files with 4 additions and 0 deletions
|
@ -255,6 +255,10 @@ bool TitleWidgetQt::eventFilter(QObject *obj, QEvent *e) {
|
||||||
|
|
||||||
if (e->type() == QEvent::MouseMove
|
if (e->type() == QEvent::MouseMove
|
||||||
&& mouseEvent->buttons() == Qt::NoButton) {
|
&& mouseEvent->buttons() == Qt::NoButton) {
|
||||||
|
if (_mousePressed) {
|
||||||
|
_mousePressed = false;
|
||||||
|
}
|
||||||
|
|
||||||
updateCursor(edges);
|
updateCursor(edges);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue