2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 15:15:13 +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

@@ -186,7 +186,7 @@ void PasscodeWidget::paintEvent(QPaintEvent *e) {
}
p.drawPixmap(a_coordOver.current(), 0, _cacheOver);
p.setOpacity(a_shadow.current());
p.drawPixmap(QRect(a_coordOver.current() - st::slideShadow.pxWidth(), 0, st::slideShadow.pxWidth(), height()), App::sprite(), st::slideShadow.rect());
st::slideShadow.fill(p, QRect(a_coordOver.current() - st::slideShadow.width(), 0, st::slideShadow.width(), height()));
} else {
p.fillRect(rect(), st::windowBg);