mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-03 08:00:50 +00:00
oops
This commit is contained in:
@@ -29,7 +29,9 @@ static void draw(MwWidget handle) {
|
|||||||
r.height = MwGetInteger(handle, MwNheight);
|
r.height = MwGetInteger(handle, MwNheight);
|
||||||
|
|
||||||
if(MwGetInteger(handle, MwNflat)) {
|
if(MwGetInteger(handle, MwNflat)) {
|
||||||
if(handle->pressed) {
|
int inv;
|
||||||
|
|
||||||
|
if(handle->pressed || ((inv = MwGetInteger(handle, MwNforceInverted)) != MwDEFAULT && inv)) {
|
||||||
MwDrawWidgetBack(handle, &r, base, handle->pressed, 1);
|
MwDrawWidgetBack(handle, &r, base, handle->pressed, 1);
|
||||||
} else {
|
} else {
|
||||||
MwDrawRect(handle, &r, base);
|
MwDrawRect(handle, &r, base);
|
||||||
|
|||||||
Reference in New Issue
Block a user