mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Add play icon to video mini previews.
This commit is contained in:
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 }};
|
||||
|
||||
Reference in New Issue
Block a user