mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -51,7 +51,6 @@ VoiceRecordButton::VoiceRecordButton(
|
|||||||
not_null<Ui::RpWidget*> parent,
|
not_null<Ui::RpWidget*> parent,
|
||||||
const style::RecordBar &st)
|
const style::RecordBar &st)
|
||||||
: AbstractButton(parent)
|
: AbstractButton(parent)
|
||||||
, _st(st)
|
|
||||||
, _blobs(std::make_unique<Ui::Paint::Blobs>(
|
, _blobs(std::make_unique<Ui::Paint::Blobs>(
|
||||||
Blobs(),
|
Blobs(),
|
||||||
kLevelDuration,
|
kLevelDuration,
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ public:
|
|||||||
private:
|
private:
|
||||||
void init();
|
void init();
|
||||||
|
|
||||||
const style::RecordBar &_st;
|
|
||||||
std::unique_ptr<Ui::Paint::Blobs> _blobs;
|
std::unique_ptr<Ui::Paint::Blobs> _blobs;
|
||||||
|
|
||||||
crl::time _lastUpdateTime = 0;
|
crl::time _lastUpdateTime = 0;
|
||||||
|
|||||||
@@ -53,6 +53,8 @@ struct SiblingLayout {
|
|||||||
QRect userpic;
|
QRect userpic;
|
||||||
QRect nameBoundingRect;
|
QRect nameBoundingRect;
|
||||||
int nameFontSize = 0;
|
int nameFontSize = 0;
|
||||||
|
|
||||||
|
friend inline bool operator==(SiblingLayout, SiblingLayout) = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Layout {
|
struct Layout {
|
||||||
|
|||||||
@@ -1568,7 +1568,7 @@ bool OverlayWidget::updateControlsAnimation(crl::time now) {
|
|||||||
+ (_over == OverRotate ? _rotateNavOver : _rotateNavIcon)
|
+ (_over == OverRotate ? _rotateNavOver : _rotateNavIcon)
|
||||||
+ (_over == OverMore ? _moreNavOver : _moreNavIcon)
|
+ (_over == OverMore ? _moreNavOver : _moreNavIcon)
|
||||||
+ ((_stories
|
+ ((_stories
|
||||||
&& (_over == OverLeftStories && _over == OverRightStories))
|
&& (_over == OverLeftStories || _over == OverRightStories))
|
||||||
? _stories->sibling(siblingType).layout.geometry
|
? _stories->sibling(siblingType).layout.geometry
|
||||||
: QRect())
|
: QRect())
|
||||||
+ _headerNav
|
+ _headerNav
|
||||||
|
|||||||
Reference in New Issue
Block a user