mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
yes
This commit is contained in:
@@ -126,7 +126,7 @@ static void click(MwWidget handle) {
|
|||||||
menu->sub[j]->wsub = NULL;
|
menu->sub[j]->wsub = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.x = rc.x + rc.width + 3;
|
p.x = MwGetInteger(handle, MwNwidth);
|
||||||
p.y = rc.y - 3;
|
p.y = rc.y - 3;
|
||||||
|
|
||||||
menu->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, 0, 0, 0);
|
menu->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, 0, 0, 0);
|
||||||
@@ -183,6 +183,8 @@ static void mwSubMenuAppearImpl(MwWidget handle, MwMenu menu, MwPoint* point, in
|
|||||||
w += 10 + 15;
|
w += 10 + 15;
|
||||||
h += 3;
|
h += 3;
|
||||||
|
|
||||||
|
if(w < 150) w = 150;
|
||||||
|
|
||||||
if(diff_calc) {
|
if(diff_calc) {
|
||||||
p.y = p.y - h;
|
p.y = p.y - h;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user