fix cursor position
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-27 03:31:18 +09:00
commit 986ffdccc1
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -72,7 +72,7 @@ static void draw(MwWidget handle) {
show[i] = 0;
currc.x = p.x + MwTextWidth(handle, font, show);
currc.y = (r.height - h) / 2;
currc.y = (r.height - h) / 2 + MwDefaultBorderWidth(handle);
currc.width = 1;
currc.height = h;
MwDrawRect(handle, &currc, text);