feat(emote-popup): save size of popup (#5415)
* fix: remove added margins from emote window position * chore: add changelog entry * feat: store size of emote window * chore: update changelog entry * fix: disable layout save * fix: PCH moment * fix: multiply by scale
This commit is contained in:
@@ -99,8 +99,8 @@ public:
|
||||
*/
|
||||
void scrollToMessage(const MessagePtr &message);
|
||||
|
||||
QPoint emotePopupPos();
|
||||
void setEmotePopupPos(QPoint pos);
|
||||
QRect emotePopupBounds() const;
|
||||
void setEmotePopupBounds(QRect bounds);
|
||||
|
||||
void initialize(Settings &settings, const Paths &paths) override;
|
||||
void save() override;
|
||||
@@ -154,7 +154,7 @@ private:
|
||||
bool initialized_ = false;
|
||||
bool shuttingDown_ = false;
|
||||
|
||||
QPoint emotePopupPos_;
|
||||
QRect emotePopupBounds_;
|
||||
|
||||
std::atomic<int> generation_{0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user