bugfix
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-05-04 12:47:24 +09:00
commit e7d9edec27
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -1049,7 +1049,11 @@ void MwReparent(MwWidget handle, MwWidget new_parent) {
MwDispatch(handle->parent, children_update);
}
handle->top_step = 0;
if(new_parent == NULL){
handle->top_step = 1;
}else{
handle->top_step = 0;
}
MwForceRender(handle);
}