mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
fix things
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@490 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -38,8 +38,8 @@ static void draw(MwWidget handle) {
|
||||
r.width = px->width * sh;
|
||||
r.height = px->height * sh;
|
||||
}
|
||||
r.width -= MwDefaultBorderWidth * 2;
|
||||
r.height -= MwDefaultBorderWidth * 2;
|
||||
r.width -= MwGetDefaultBorderWidth(handle) * 2;
|
||||
r.height -= MwGetDefaultBorderWidth(handle) * 2;
|
||||
|
||||
r.x += (double)(ow - r.width) / 2;
|
||||
r.y += (double)(oh - r.height) / 2;
|
||||
|
||||
Reference in New Issue
Block a user