From 4c26f37f63170cd06ea8dccefaef820a61407efd Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Sat, 22 Nov 2025 17:54:25 +0000 Subject: [PATCH] fix git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@785 b9cfdab3-6d41-4d17-bbe4-086880011989 --- src/widget/button.c | 2 -- 1 file changed, 2 deletions(-) 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;