13
0

Fix invisible discrete control points.

This commit is contained in:
David Robillard 2014-11-22 04:39:30 -05:00
parent c1cfa12d6e
commit 73ad993597

View File

@ -177,7 +177,11 @@ AutomationLine::update_visibility ()
} else {
line->hide ();
for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) {
(*i)->hide ();
if (_visible & ControlPoints) {
(*i)->show ();
} else {
(*i)->hide ();
}
}
}