mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
moved shadows to widgets where they are displayed
This commit is contained in:
@@ -311,7 +311,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
class HistoryHider : public QWidget, public Animated {
|
||||
class HistoryHider : public TWidget, public Animated {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@@ -412,7 +412,6 @@ public:
|
||||
void checkMentionDropdown();
|
||||
|
||||
void paintTopBar(QPainter &p, float64 over, int32 decreaseWidth);
|
||||
void topBarShadowParams(int32 &x, float64 &o);
|
||||
void topBarClick();
|
||||
|
||||
void loadMessages();
|
||||
@@ -791,5 +790,7 @@ private:
|
||||
bool _saveDraftText;
|
||||
QTimer _saveDraftTimer;
|
||||
|
||||
PlainShadow _sideShadow, _topShadow;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user