mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
don't request redraw of a Canvas item if it marked invisible
This commit is contained in:
parent
3a5e98bb8b
commit
5ebc4a99be
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ Item::width () const
|
|||
void
|
||||
Item::redraw () const
|
||||
{
|
||||
if (_bounding_box && _canvas) {
|
||||
if (_visible && _bounding_box && _canvas) {
|
||||
_canvas->request_redraw (item_to_canvas (_bounding_box.get()));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue