mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 02:43:30 +00:00
adjust some stuff
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user