Fix propagating reshape_posted flag
This commit is contained in:
parent
aca553c566
commit
742ae9e21e
1 changed files with 3 additions and 0 deletions
|
|
@ -10,7 +10,10 @@ namespace psemek::ui
|
|||
void element::set_parent(element * parent)
|
||||
{
|
||||
if (parent && reshape_posted_)
|
||||
{
|
||||
parent->root()->reshape_posted_ = true;
|
||||
reshape_posted_ = false;
|
||||
}
|
||||
else if (!parent && parent_)
|
||||
reshape_posted_ |= parent_->root()->reshape_posted_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue