Skip to content

Commit

Permalink
repaints happen in setSelection now
Browse files Browse the repository at this point in the history
  • Loading branch information
kornes committed Oct 11, 2023
1 parent 54fd662 commit dd1dcbc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/widgets/helper/ChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1515,13 +1515,10 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
// is selecting
if (this->isLeftMouseDown_)
{
// this->pause(PauseReason::Selecting, 300);
auto index = layout->getSelectionIndex(relativePos);

this->setSelection(this->selection_.start,
SelectionItem(messageIndex, index));

this->queueUpdate();
}

// message under cursor is collapsed
Expand Down

0 comments on commit dd1dcbc

Please sign in to comment.