mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Don't open stories from userpic in narrow chats mode.
This commit is contained in:
parent
87206a6c79
commit
daef7faaa4
1 changed files with 2 additions and 1 deletions
|
@ -3336,7 +3336,8 @@ bool InnerWidget::chooseRow(
|
|||
Qt::KeyboardModifiers modifiers) {
|
||||
row.newWindow = (modifiers & Qt::ControlModifier);
|
||||
row.userpicClick = (_lastRowLocalMouseX >= 0)
|
||||
&& (_lastRowLocalMouseX < _st->nameLeft);
|
||||
&& (_lastRowLocalMouseX < _st->nameLeft)
|
||||
&& (width() > _narrowWidth);
|
||||
return row;
|
||||
};
|
||||
auto chosen = modifyChosenRow(computeChosenRow(), modifiers);
|
||||
|
|
Loading…
Add table
Reference in a new issue