mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fix build with Xcode.
This commit is contained in:
parent
d57ada8a64
commit
455cb0d21b
4 changed files with 3 additions and 3 deletions
Telegram/SourceFiles
history/view/controls
media
|
@ -51,7 +51,6 @@ VoiceRecordButton::VoiceRecordButton(
|
|||
not_null<Ui::RpWidget*> parent,
|
||||
const style::RecordBar &st)
|
||||
: AbstractButton(parent)
|
||||
, _st(st)
|
||||
, _blobs(std::make_unique<Ui::Paint::Blobs>(
|
||||
Blobs(),
|
||||
kLevelDuration,
|
||||
|
|
|
@ -47,7 +47,6 @@ public:
|
|||
private:
|
||||
void init();
|
||||
|
||||
const style::RecordBar &_st;
|
||||
std::unique_ptr<Ui::Paint::Blobs> _blobs;
|
||||
|
||||
crl::time _lastUpdateTime = 0;
|
||||
|
|
|
@ -53,6 +53,8 @@ struct SiblingLayout {
|
|||
QRect userpic;
|
||||
QRect nameBoundingRect;
|
||||
int nameFontSize = 0;
|
||||
|
||||
friend inline bool operator==(SiblingLayout, SiblingLayout) = default;
|
||||
};
|
||||
|
||||
struct Layout {
|
||||
|
|
|
@ -1568,7 +1568,7 @@ bool OverlayWidget::updateControlsAnimation(crl::time now) {
|
|||
+ (_over == OverRotate ? _rotateNavOver : _rotateNavIcon)
|
||||
+ (_over == OverMore ? _moreNavOver : _moreNavIcon)
|
||||
+ ((_stories
|
||||
&& (_over == OverLeftStories && _over == OverRightStories))
|
||||
&& (_over == OverLeftStories || _over == OverRightStories))
|
||||
? _stories->sibling(siblingType).layout.geometry
|
||||
: QRect())
|
||||
+ _headerNav
|
||||
|
|
Loading…
Add table
Reference in a new issue