mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix effect panel jump on expand.
This commit is contained in:
@@ -400,9 +400,7 @@ void Selector::initGeometry(int innerTop) {
|
||||
_collapsedTopSkip = _useTransparency
|
||||
? (extendTopForCategoriesAndAbout(forAbout) + _specialExpandTopSkip)
|
||||
: 0;
|
||||
_topAddOnExpand = extendTopForCategories()
|
||||
- _aboutExtend
|
||||
+ _specialExpandTopSkip;
|
||||
_topAddOnExpand = _collapsedTopSkip - _aboutExtend;
|
||||
const auto height = margins.top()
|
||||
+ _aboutExtend
|
||||
+ innerHeight
|
||||
|
||||
Reference in New Issue
Block a user