fix reparent freeze

This commit is contained in:
Nishi 2026-07-20 09:07:30 +09:00
commit 74a800b3ef

View file

@ -1143,8 +1143,10 @@ void MwReparent(MwWidget handle, MwWidget new_parent) {
if(new_parent == NULL) {
handle->top_step = 1;
arrput(handle->tick_list, handle);
} else {
handle->top_step = 0;
arrfree(handle->tick_list);
}
MwForceRender(handle);