To reproduce behavior, set coordinates of gradient in color.inc to something like:
// Coordinates of gradient (x, y, width, height)
'gradient' => array(1120, 187, 49, 24),
Notice that instead of starting at 1120, it starts at 49. This is because the third coordinate is not actually the width; it is the x2 coordinate (x2 = x + width).
I have provided a patch to resolve this issue inside the color.module. (see attached)
| Comment | File | Size | Author |
|---|---|---|---|
| patch_113.txt | 707 bytes | ms2011 |
Comments
Comment #1
dries commentedIt looks like you are correct, but it would be nice if Steven (author of color.module) could confirm this. :)
Comment #2
michaelfavia commentedExperienced and confirmed. RTBC Steven?
Comment #3
drummCommitted to 5.x.
Applies cleanly with offset to head.
Comment #4
gábor hojtsyOK, committed to Drupal 6.
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.