mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix effect panel jump on expand.
This commit is contained in:
parent
b01244fc42
commit
d0d1ef9e66
1 changed files with 1 additions and 3 deletions
|
@ -400,9 +400,7 @@ void Selector::initGeometry(int innerTop) {
|
||||||
_collapsedTopSkip = _useTransparency
|
_collapsedTopSkip = _useTransparency
|
||||||
? (extendTopForCategoriesAndAbout(forAbout) + _specialExpandTopSkip)
|
? (extendTopForCategoriesAndAbout(forAbout) + _specialExpandTopSkip)
|
||||||
: 0;
|
: 0;
|
||||||
_topAddOnExpand = extendTopForCategories()
|
_topAddOnExpand = _collapsedTopSkip - _aboutExtend;
|
||||||
- _aboutExtend
|
|
||||||
+ _specialExpandTopSkip;
|
|
||||||
const auto height = margins.top()
|
const auto height = margins.top()
|
||||||
+ _aboutExtend
|
+ _aboutExtend
|
||||||
+ innerHeight
|
+ innerHeight
|
||||||
|
|
Loading…
Add table
Reference in a new issue