adjust some stuff

This commit is contained in:
NishiOwO
2025-12-21 15:33:48 +09:00
parent 2304b493d1
commit 188da6803e
3 changed files with 17 additions and 8 deletions

View File

@@ -295,7 +295,7 @@ static void draw(MwWidget handle) {
px = MwLoadRaw(handle, raw, w, h);
r.y = 0;
r.y = (r.height - h) / 2;
r.height = h;
if(align == MwALIGNMENT_CENTER) {
r.x = (r.width - w) / 2;