2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show downloaded files in Downloads.

This commit is contained in:
John Preston
2022-02-26 14:51:54 +03:00
parent 1f2eba9dc9
commit 3425dc027c
12 changed files with 257 additions and 83 deletions

View File

@@ -1090,7 +1090,7 @@ void Document::paint(Painter &p, const QRect &clip, TextSelection selection, con
datetop = st::linksBorder + _st.fileDateTop;
QRect border(style::rtlrect(nameleft, 0, _width - nameleft, st::linksBorder, _width));
if (!context->isAfterDate && clip.intersects(border)) {
if (!context->skipBorder && clip.intersects(border)) {
p.fillRect(clip.intersected(border), st::linksBorderFg);
}
@@ -1661,7 +1661,7 @@ void Link::paint(Painter &p, const QRect &clip, TextSelection selection, const P
}
QRect border(style::rtlrect(left, 0, w, st::linksBorder, _width));
if (!context->isAfterDate && clip.intersects(border)) {
if (!context->skipBorder && clip.intersects(border)) {
p.fillRect(clip.intersected(border), st::linksBorderFg);
}