Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: Dries commentedIt looks like you are correct, but it would be nice if Steven (author of color.module) could confirm this. :)
Comment #2
michaelfavia CreditAttribution: 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) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.