13
0

fix meter gradient y-axis only

This commit is contained in:
Robin Gareus 2013-07-05 03:05:35 +02:00
parent f4557194ab
commit d4b1941796

View File

@ -108,7 +108,7 @@ FastMeter::generate_meter_pattern (
guint8 r,g,b,a;
int knee;
cairo_pattern_t* pat = cairo_pattern_create_linear (0.0, 0.0, width, height);
cairo_pattern_t* pat = cairo_pattern_create_linear (0.0, 0.0, 0.0, height);
/*
Cairo coordinate space goes downwards as y value goes up, so invert