mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-05 09:00:54 +00:00
fix
This commit is contained in:
@@ -47,6 +47,8 @@ static void layout(MwWidget handle) {
|
|||||||
int s = MwGetInteger(handle->children[i], MwNfixedSize);
|
int s = MwGetInteger(handle->children[i], MwNfixedSize);
|
||||||
if(n == MwDEFAULT) n = 1;
|
if(n == MwDEFAULT) n = 1;
|
||||||
|
|
||||||
|
if(handle->children[i]->destroyed) continue;
|
||||||
|
|
||||||
if(s != MwDEFAULT) {
|
if(s != MwDEFAULT) {
|
||||||
sz -= s + Margin;
|
sz -= s + Margin;
|
||||||
} else {
|
} else {
|
||||||
@@ -60,6 +62,8 @@ static void layout(MwWidget handle) {
|
|||||||
int wsz;
|
int wsz;
|
||||||
if(n == MwDEFAULT) n = 1;
|
if(n == MwDEFAULT) n = 1;
|
||||||
|
|
||||||
|
if(handle->children[i]->destroyed) continue;
|
||||||
|
|
||||||
if(s != MwDEFAULT) {
|
if(s != MwDEFAULT) {
|
||||||
wsz = s;
|
wsz = s;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user