2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Fix tabbed section / panel render glitches.

This commit is contained in:
John Preston
2017-06-21 13:49:10 +03:00
parent 507b7d7193
commit 1791b251ad
4 changed files with 26 additions and 15 deletions

View File

@@ -68,6 +68,9 @@ public:
base::Observable<void> &floatPlayerAreaUpdated() {
return _floatPlayerAreaUpdated;
}
base::Observable<void> &widgetGrabbed() {
return _widgetGrabbed;
}
struct ColumnLayout {
int bodyWidth;
@@ -108,6 +111,7 @@ private:
GifPauseReasons _gifPauseReasons = { 0 };
base::Observable<void> _gifPauseLevelChanged;
base::Observable<void> _floatPlayerAreaUpdated;
base::Observable<void> _widgetGrabbed;
base::Variable<float64> _dialogsWidthRatio = { kDefaultDialogsWidthRatio };
base::Variable<bool> _dialogsListFocused = { false };