mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix keyboard scrolling in ContactsBox.
This commit is contained in:
@@ -1235,9 +1235,12 @@ void ContactsBox::Inner::leaveEventHook(QEvent *e) {
|
||||
}
|
||||
|
||||
void ContactsBox::Inner::mouseMoveEvent(QMouseEvent *e) {
|
||||
_mouseSelection = true;
|
||||
_lastMousePos = e->globalPos();
|
||||
updateSelection();
|
||||
auto position = e->globalPos();
|
||||
if (_mouseSelection || _lastMousePos != position) {
|
||||
_mouseSelection = true;
|
||||
_lastMousePos = e->globalPos();
|
||||
updateSelection();
|
||||
}
|
||||
}
|
||||
|
||||
void ContactsBox::Inner::mousePressEvent(QMouseEvent *e) {
|
||||
|
||||
Reference in New Issue
Block a user