2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

test dev version 0.8.22 (not production!) prepared, fixed display of group from which I left

This commit is contained in:
John Preston
2015-06-03 21:20:57 +03:00
parent ac2ae16f47
commit 16caff1ca4
8 changed files with 19 additions and 17 deletions

View File

@@ -4402,7 +4402,7 @@ void HistoryWidget::paintEvent(QPaintEvent *e) {
if (!_field.isHidden() || _recording) {
drawFieldBackground(p);
}
if (_send.isHidden()) {
if (!_field.isHidden() && _send.isHidden()) {
if (a_recordDown.current() < 1) {
p.setOpacity(st::btnAttachEmoji.opacity * (1 - a_recordOver.current()) + st::btnAttachEmoji.overOpacity * a_recordOver.current());
p.drawSprite(_send.x() + (_send.width() - st::btnRecordAudio.pxWidth()) / 2, _send.y() + (_send.height() - st::btnRecordAudio.pxHeight()) / 2, st::btnRecordAudio);