From 582582379b2d6a0d055a7aba1ab6de2e14a939ba Mon Sep 17 00:00:00 2001 From: Nishi Date: Fri, 8 May 2026 00:35:03 +0900 Subject: [PATCH] fix rendering --- src/widget/combobox.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/widget/combobox.c b/src/widget/combobox.c index 79f3e33..e53647d 100644 --- a/src/widget/combobox.c +++ b/src/widget/combobox.c @@ -54,15 +54,6 @@ static void draw(MwWidget handle) { MwDrawText(handle, NULL, &p, cb->list[MwGetInteger(handle, MwNvalue)], MwALIGNMENT_BEGINNING, text); } - r = rc; - r.height /= 5; - r.width = r.height * 3; - r.x = MwGetInteger(handle, MwNwidth) - MwDefaultBorderWidth(handle) - r.width - MwDefaultBorderWidth(handle) * 2; - r.y = MwDefaultBorderWidth(handle); - r.height = rc.height; - r.width += MwDefaultBorderWidth(handle) * 2; - MwDrawWidgetBack(handle, &r, base, 0, 0); - r = rc; r.width = r.height * 3 / 5; r.height = r.width - MwDefaultBorderWidth(handle) * 2;