diff --git a/src/widget/button.c b/src/widget/button.c index cb894c0..9b84e04 100644 --- a/src/widget/button.c +++ b/src/widget/button.c @@ -54,8 +54,6 @@ static void draw(MwWidget handle) { r.width = px->common.width * sh; r.height = px->common.height * sh; } - r.width -= MwDefaultBorderWidth(handle) * 2; - r.height -= MwDefaultBorderWidth(handle) * 2; r.x += (double)(ow - r.width) / 2; r.y += (double)(oh - r.height) / 2;