mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Fix editor summary exposure rectangle
Rectangle uses position and width, not coordinate pairs.
This commit is contained in:
parent
aecd84e7fd
commit
44528f4fd0
1 changed files with 1 additions and 1 deletions
|
|
@ -931,7 +931,7 @@ EditorSummary::playhead_position_changed (samplepos_t p)
|
|||
if (_session && o != n) {
|
||||
int a = max(2, min (o, n));
|
||||
int b = max (o, n);
|
||||
set_overlays_dirty_rect (a - 2, 0, b + 2, get_height ());
|
||||
set_overlays_dirty_rect (a - 2, 0, b - a + 4, get_height ());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue