diff options
author | Anni Ryynänen <anni@anniryynanen.com> | 2024-06-20 13:49:09 +0300 |
---|---|---|
committer | Anni Ryynänen <anni@anniryynanen.com> | 2024-06-20 13:49:09 +0300 |
commit | 0fefd6cc80cef9e89afd4fc05630c74f626eecee (patch) | |
tree | 75c70300fb138259a20e030d851b15cdad1d87eb /thirdparty/basis_universal/transcoder/basisu_transcoder.cpp | |
parent | b75f0485ba15951b87f1d9a2d8dd0fcd55e178e4 (diff) | |
download | redot-engine-0fefd6cc80cef9e89afd4fc05630c74f626eecee.tar.gz |
Fix GridContainer minimum size when there's a hidden parent
When calculating minimum size, GridContainer only looks at children that are
returned from `as_sortable_control()`. That defaults to only showing children
visible in the tree, so if the grid has a hidden parent the minimum size
becomes (0, 0).
After this change only the child itself needs to be visible, making
`GridContainer::get_minimum_size()` behave the same way as other controls.
Fixes #91722.
Diffstat (limited to 'thirdparty/basis_universal/transcoder/basisu_transcoder.cpp')
0 files changed, 0 insertions, 0 deletions