dont shift coord

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@54 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-09-29 05:24:32 +00:00
parent f0b0ad820c
commit 3cb4492952

View File

@@ -110,10 +110,10 @@ void MwDrawFrame(MwWidget handle, MwRect* rect, MwLLColor color, int invert) {
MwLLFreeColor(lighter);
MwLLFreeColor(darker);
rect->x += border + (invert ? border : 0);
rect->y += border + (invert ? border : 0);
rect->width -= border * 2 + (invert ? border : 0);
rect->height -= border * 2 + (invert ? border : 0);
rect->x += border;
rect->y += border;
rect->width -= border * 2;
rect->height -= border * 2;
}
void MwDrawText(MwWidget handle, MwPoint* point, const char* text, MwLLColor color) {