mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Show reaction button only when the cursor is over the message.
This commit is contained in:
@@ -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 {};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user