fix things

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@489 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-24 16:54:43 +00:00
parent b598c29d33
commit 90080a3d24
8 changed files with 9 additions and 51 deletions

View File

@@ -214,6 +214,7 @@ static void frame_draw(MwWidget handle) {
r2.width = r.width;
r2.height = MwTextHeight(handle, "M");
MwDrawRect(handle, &r2, text);
handle->bgcolor = text;
}
if(lb->list[i].pixmap != NULL) {
MwRect r2;
@@ -238,6 +239,7 @@ static void frame_draw(MwWidget handle) {
if(j == 0) p.x -= MwGetInteger(handle->parent, MwNleftPadding);
}
p.y += MwTextHeight(handle, "M") / 2;
handle->bgcolor = NULL;
}
MwDrawFrame(handle, &r, base, 1);