fix cursor position
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
ca703f24d5
commit
986ffdccc1
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue