mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
yes
This commit is contained in:
@@ -126,7 +126,7 @@ static void click(MwWidget handle) {
|
||||
menu->sub[j]->wsub = NULL;
|
||||
}
|
||||
|
||||
p.x = rc.x + rc.width + 3;
|
||||
p.x = MwGetInteger(handle, MwNwidth);
|
||||
p.y = rc.y - 3;
|
||||
|
||||
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;
|
||||
h += 3;
|
||||
|
||||
if(w < 150) w = 150;
|
||||
|
||||
if(diff_calc) {
|
||||
p.y = p.y - h;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user