mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Merge branch 'master' into player
Conflicts: Telegram/SourceFiles/core/observer.h Telegram/SourceFiles/mainwindow.h Telegram/SourceFiles/media/view/media_clip_playback.cpp Telegram/SourceFiles/media/view/media_clip_playback.h
This commit is contained in:
@@ -268,17 +268,13 @@ public:
|
||||
void setMode(Mode mode);
|
||||
|
||||
bool isFullyShown() const {
|
||||
return _shown && _a_opacity.isNull();
|
||||
return _shown && !_a_opacity.animating();
|
||||
}
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *e) override;
|
||||
|
||||
private:
|
||||
void repaintCallback() {
|
||||
update();
|
||||
}
|
||||
|
||||
const style::color &_color;
|
||||
FloatAnimation _a_opacity;
|
||||
bool _shown = true;
|
||||
|
Reference in New Issue
Block a user