fixed #54, titlebar works

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@253 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-10 12:39:07 +00:00
parent 0fd866977b
commit ca62ddf733
2 changed files with 4 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ static void mouse_down(MwWidget handle) {
if(m->sub[i]->wsub == NULL && arrlen(m->sub[i]->sub) > 0) {
MwPoint p2;
p2.x = p.x - tw / 2 - 5;
p2.x = p.x - 5;
p2.y = p.y + th / 2 + 5;
m->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, 0, 0, 0);