fix reparent freeze
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
d056d1b7fb
commit
74a800b3ef
1 changed files with 2 additions and 0 deletions
|
|
@ -1143,8 +1143,10 @@ void MwReparent(MwWidget handle, MwWidget new_parent) {
|
||||||
|
|
||||||
if(new_parent == NULL) {
|
if(new_parent == NULL) {
|
||||||
handle->top_step = 1;
|
handle->top_step = 1;
|
||||||
|
arrput(handle->tick_list, handle);
|
||||||
} else {
|
} else {
|
||||||
handle->top_step = 0;
|
handle->top_step = 0;
|
||||||
|
arrfree(handle->tick_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
MwForceRender(handle);
|
MwForceRender(handle);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue