mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
various work waveview amplitude mgmt; fix playhead cursor drag from timebar click
This commit is contained in:
parent
9727a23111
commit
ec102f94e1
13 changed files with 95 additions and 55 deletions
|
|
@ -72,6 +72,18 @@ Canvas::render (Rect const & area, Cairo::RefPtr<Cairo::Context> const & context
|
|||
|
||||
context->save ();
|
||||
|
||||
#ifdef CANVAS_DEBUG
|
||||
if (getenv ("ARDOUR_REDRAW_CANVAS")) {
|
||||
/* light up the canvas to show redraws */
|
||||
context->set_source_rgba (random()%255 / 255.0,
|
||||
random()%255 / 255.0,
|
||||
random()%255 / 255.0,
|
||||
255);
|
||||
context->rectangle (area.x0, area.y0, area.width(), area.height());
|
||||
context->stroke ();
|
||||
}
|
||||
#endif
|
||||
|
||||
/* clip to the requested area */
|
||||
context->rectangle (area.x0, area.y0, area.width(), area.height());
|
||||
context->clip ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue