fix things

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@490 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-24 17:31:05 +00:00
parent 90080a3d24
commit 453fb8702d
23 changed files with 14131 additions and 14136 deletions

View File

@@ -23,10 +23,10 @@ static void draw(MwWidget handle) {
fr.height = MwGetInteger(handle, MwNheight);
MwDrawFrame(handle, &fr, base, inverted);
rr.x = MwDefaultBorderWidth;
rr.y = MwDefaultBorderWidth;
rr.width = MwGetInteger(handle, MwNwidth) - (MwDefaultBorderWidth * 2);
rr.height = MwGetInteger(handle, MwNheight) - (MwDefaultBorderWidth * 2);
rr.x = MwGetDefaultBorderWidth(handle);
rr.y = MwGetDefaultBorderWidth(handle);
rr.width = MwGetInteger(handle, MwNwidth) - (MwGetDefaultBorderWidth(handle) * 2);
rr.height = MwGetInteger(handle, MwNheight) - (MwGetDefaultBorderWidth(handle) * 2);
} else {
rr.x = 0;