mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Disabled dialogs drag to filters while dragging among pinned dialogs.
This commit is contained in:
@@ -1679,7 +1679,7 @@ void InnerWidget::mouseMoveEvent(QMouseEvent *e) {
|
||||
|
||||
if (_pressed && (e->buttons() & Qt::LeftButton)) {
|
||||
const auto local = e->pos();
|
||||
const auto outside = _dragging ? !rect().contains(local) : true;
|
||||
const auto outside = _dragging ? false : true;
|
||||
const auto delta = local - _dragStart;
|
||||
const auto thresholdY = _pressed->entry()->isPinnedDialog(_filterId)
|
||||
? kStartDragToFilterThresholdY
|
||||
|
||||
Reference in New Issue
Block a user