This commit is contained in:
Nishi 2025-12-25 04:21:33 +09:00
commit 0d79141a49
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -67,9 +67,9 @@ static void draw(MwWidget handle) {
int th = MwTextHeight(handle, menu->sub[i]->name);
if(menu->sub[i]->wsub != NULL) {
r.x = 0;
r.x = MwGetInteger(handle, MwNleftPadding);
r.y = p.y - 3;
r.width = MwGetInteger(handle, MwNwidth);
r.width = MwGetInteger(handle, MwNwidth) - MwGetInteger(handle, MwNleftPadding);
r.height = th + 3 * 2;
MwDrawWidgetBack(handle, &r, base, 0, MwTRUE);
}