Do not trigger resize if section is collapsed

This commit is contained in:
WarmUpTill
2021-05-30 08:36:19 +02:00
committed by WarmUpTill
parent 7fda5e3820
commit fdb72629db
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ private:
QWidget *_content = nullptr;
int _animationDuration;
std::atomic_bool _transitioning = {false};
std::atomic_bool _collapsed = {false};
int _headerHeight = 0;
int _contentHeight = 0;
};