border width fixed
This commit is contained in:
parent
f9f98b8f56
commit
4397fa4d63
@ -414,7 +414,7 @@ setup(void) {
|
|||||||
|
|
||||||
if (center) {
|
if (center) {
|
||||||
mw = MIN(centerwidth, wa.width) - (borderwidth * 2);
|
mw = MIN(centerwidth, wa.width) - (borderwidth * 2);
|
||||||
mh = mh * 2 - (borderwidth * 2);
|
mh = (mh * 2) - (borderwidth * 2);
|
||||||
x = (wa.width - mw) / 2;
|
x = (wa.width - mw) / 2;
|
||||||
y = (wa.height - mh) / 2;
|
y = (wa.height - mh) / 2;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user