mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Show reaction button only when the cursor is over the message.
This commit is contained in:
parent
f70c2adbdd
commit
505ef04134
1 changed files with 1 additions and 1 deletions
|
@ -1869,7 +1869,7 @@ Reactions::ButtonParameters Message::reactionButtonParameters(
|
|||
+ st::reactionCornerCenter));
|
||||
if (reactionState.itemId != result.context) {
|
||||
const auto top = marginTop();
|
||||
if (!QRect(0, top, width(), height() - top).contains(position)) {
|
||||
if (!contentRect.contains(position)) {
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue