mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
@@ -434,14 +434,12 @@ auto Row::generatePaintUserpicCallback() -> PaintRoundImageCallback {
|
|||||||
return [=](Painter &p, int x, int y, int outerWidth, int size) mutable {
|
return [=](Painter &p, int x, int y, int outerWidth, int size) mutable {
|
||||||
if (_blobsAnimation) {
|
if (_blobsAnimation) {
|
||||||
const auto shift = QPointF(x + size / 2., y + size / 2.);
|
const auto shift = QPointF(x + size / 2., y + size / 2.);
|
||||||
const auto speaking = _speakingAnimation.value(
|
|
||||||
_speaking ? 1. : 0.);
|
|
||||||
auto hq = PainterHighQualityEnabler(p);
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
p.translate(shift);
|
p.translate(shift);
|
||||||
const auto brush = anim::brush(
|
const auto brush = anim::brush(
|
||||||
st::groupCallMemberInactiveStatus,
|
st::groupCallMemberInactiveStatus,
|
||||||
st::groupCallMemberActiveStatus,
|
st::groupCallMemberActiveStatus,
|
||||||
speaking);
|
_speakingAnimation.value(_speaking ? 1. : 0.));
|
||||||
_blobsAnimation->blobs.paint(p, brush);
|
_blobsAnimation->blobs.paint(p, brush);
|
||||||
p.translate(-shift);
|
p.translate(-shift);
|
||||||
p.setOpacity(1.);
|
p.setOpacity(1.);
|
||||||
|
@@ -204,7 +204,7 @@ void Calls::setupContent() {
|
|||||||
),
|
),
|
||||||
st::settingsButton
|
st::settingsButton
|
||||||
)->addClickHandler([=] {
|
)->addClickHandler([=] {
|
||||||
Ui::show(ChooseAudioOutputBox(crl::guard(this, [=](
|
Ui::show(ChooseAudioInputBox(crl::guard(this, [=](
|
||||||
const QString &id,
|
const QString &id,
|
||||||
const QString &name) {
|
const QString &name) {
|
||||||
_inputNameStream.fire_copy(name);
|
_inputNameStream.fire_copy(name);
|
||||||
|
Reference in New Issue
Block a user