Add play icon to video mini previews.
This commit is contained in:
parent
d5f935b73d
commit
8cdd2f113f
Binary file not shown.
After Width: | Height: | Size: 165 B |
Binary file not shown.
After Width: | Height: | Size: 200 B |
Binary file not shown.
After Width: | Height: | Size: 475 B |
|
@ -230,9 +230,9 @@ struct PreparedPreview {
|
|||
|
||||
{
|
||||
QPainter p(&preview);
|
||||
//st::overviewVideoPlay.paintInCenter(
|
||||
// p,
|
||||
// QRect(QPoint(), preview.size() / preview.devicePixelRatio()));
|
||||
st::dialogsMiniPlay.paintInCenter(
|
||||
p,
|
||||
QRect(QPoint(), preview.size() / preview.devicePixelRatio()));
|
||||
}
|
||||
return preview;
|
||||
}
|
||||
|
|
|
@ -300,3 +300,4 @@ dialogsMiniPreviewTop: 1px;
|
|||
dialogsMiniPreview: 16px;
|
||||
dialogsMiniPreviewSkip: 2px;
|
||||
dialogsMiniPreviewRight: 3px;
|
||||
dialogsMiniPlay: icon{{ "dialogs/dialogs_mini_play", videoPlayIconFg }};
|
||||
|
|
Loading…
Reference in New Issue