mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
15620b5c2d
commit
aa5e8422bf
2 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue