mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix click area of web page preview article photo.
This commit is contained in:
parent
656146c445
commit
9eb20ede33
1 changed files with 1 additions and 1 deletions
|
@ -647,7 +647,7 @@ TextState WebPage::textState(QPoint point, StateRequest request) const {
|
|||
auto inThumb = false;
|
||||
if (asArticle()) {
|
||||
auto pw = qMax(_pixw, lineHeight);
|
||||
if (style::rtlrect(padding.left() + paintw - pw, 0, pw, _pixh, width()).contains(point)) {
|
||||
if (style::rtlrect(padding.left() + paintw - pw, tshift, pw, _pixh, width()).contains(point)) {
|
||||
inThumb = true;
|
||||
}
|
||||
paintw -= pw + st::webPagePhotoDelta;
|
||||
|
|
Loading…
Add table
Reference in a new issue