no transport controls in pianoroll unless asked for

This commit is contained in:
Paul Davis 2025-03-15 16:07:39 -06:00
parent 75bc3ec77e
commit aae1e6a76e
4 changed files with 38 additions and 28 deletions

View file

@ -1254,7 +1254,7 @@ Editor::set_session (Session *t)
/* Cannot initialize in constructor, because pianoroll needs Actions */
if (!_pianoroll) {
// XXX this should really not happen here
_pianoroll = new Pianoroll ("editor pianoroll");
_pianoroll = new Pianoroll ("editor pianoroll", true);
_pianoroll->viewport().set_size_request (-1, 120);
}
_pianoroll->set_session (_session);