mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
tiny fix
This commit is contained in:
@@ -67,9 +67,9 @@ static void draw(MwWidget handle) {
|
|||||||
int th = MwTextHeight(handle, menu->sub[i]->name);
|
int th = MwTextHeight(handle, menu->sub[i]->name);
|
||||||
|
|
||||||
if(menu->sub[i]->wsub != NULL) {
|
if(menu->sub[i]->wsub != NULL) {
|
||||||
r.x = 0;
|
r.x = MwGetInteger(handle, MwNleftPadding);
|
||||||
r.y = p.y - 3;
|
r.y = p.y - 3;
|
||||||
r.width = MwGetInteger(handle, MwNwidth);
|
r.width = MwGetInteger(handle, MwNwidth) - MwGetInteger(handle, MwNleftPadding);
|
||||||
r.height = th + 3 * 2;
|
r.height = th + 3 * 2;
|
||||||
MwDrawWidgetBack(handle, &r, base, 0, MwTRUE);
|
MwDrawWidgetBack(handle, &r, base, 0, MwTRUE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user