mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
remove a float loop counter
This commit is contained in:
parent
1c9bb7de66
commit
42f0142bb9
1 changed files with 4 additions and 1 deletions
|
|
@ -240,7 +240,10 @@ FastMeter::generate_meter_pattern (
|
|||
cairo_set_line_width(tc, 1.0);
|
||||
cairo_set_source_rgba(tc, .0, .0, .0, 0.4);
|
||||
//cairo_set_operator (tc, CAIRO_OPERATOR_SOURCE);
|
||||
for (float y=0.5; y < height; y+= 2.0) {
|
||||
for (int i = 0; float y = 0.5 + i * 2.0; ++i) {
|
||||
if (y >= height) {
|
||||
break;
|
||||
}
|
||||
cairo_move_to(tc, 0, y);
|
||||
cairo_line_to(tc, width, y);
|
||||
cairo_stroke (tc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue