slightly stronger gradient on modern theme

This commit is contained in:
IoI_xD 2026-03-26 18:12:45 -07:00 committed by Nishi
commit 60e1f36a41

View file

@ -111,7 +111,7 @@ void MwDrawRectFading(MwWidget handle, MwRect* rect, MwLLColor color, int rounde
int y, i;
double darken = 0.;
int ColorDiff = get_color_diff(handle);
double darkenStep = (ColorDiff / 4.) / rect->height;
double darkenStep = (ColorDiff / 2.) / rect->height;
unsigned long sz = 1 * rect->height * 4;
unsigned char* data = malloc(sz);
MwRect r = *rect;