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

@@ -38,8 +38,8 @@ static void draw(MwWidget handle) {
r.width = px->width * sh;
r.height = px->height * sh;
}
r.width -= MwDefaultBorderWidth * 2;
r.height -= MwDefaultBorderWidth * 2;
r.width -= MwGetDefaultBorderWidth(handle) * 2;
r.height -= MwGetDefaultBorderWidth(handle) * 2;
r.x += (double)(ow - r.width) / 2;
r.y += (double)(oh - r.height) / 2;