2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Some icons moved from sprite. Ui::WidgetFadeWrap() effect added.

This commit is contained in:
John Preston
2016-10-26 13:06:00 +03:00
parent d35b295d5e
commit ff2d959abd
36 changed files with 394 additions and 243 deletions

View File

@@ -2506,7 +2506,7 @@ void DialogsWidget::paintEvent(QPaintEvent *e) {
}
p.drawPixmap(QRect(a_coordOver.current(), 0, _cacheOver.width() / retina, _cacheOver.height() / retina), _cacheOver, QRect(0, 0, _cacheOver.width(), _cacheOver.height()));
p.setOpacity(a_progress.current());
p.drawPixmap(QRect(a_coordOver.current() - st::slideShadow.pxWidth(), 0, st::slideShadow.pxWidth(), _cacheOver.height() / retina), App::sprite(), st::slideShadow.rect());
st::slideShadow.fill(p, QRect(a_coordOver.current() - st::slideShadow.width(), 0, st::slideShadow.width(), _cacheOver.height() / retina));
return;
}
QRect above(0, 0, width(), _scroll.y());