Compare commits
2 commits
efe1ea076e
...
a5186cc1e9
| Author | SHA1 | Date | |
|---|---|---|---|
| a5186cc1e9 | |||
| 414fde9b77 |
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ static void draw(MwWidget handle) {
|
||||||
int attr;
|
int attr;
|
||||||
MwRect currc;
|
MwRect currc;
|
||||||
|
|
||||||
p.x = (r.width - (r.width / w * w)) / 2;
|
p.x = (r.width - (r.width / w * w)) / 2 + (MwGetInteger(handle, MwNisRounded) ? MwGetInteger(handle, MwNroundness) : 0);
|
||||||
p.y = r.height / 2;
|
p.y = r.height / 2;
|
||||||
|
|
||||||
len = (r.width - p.x * 2) / w;
|
len = (r.width - p.x * 2) / w;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue