add a comment to explain a default length

This commit is contained in:
Paul Davis 2025-04-24 11:59:15 -06:00
parent ce236c49ca
commit a835de7e08

View file

@ -2754,6 +2754,7 @@ Pianoroll::max_zoom_extent() const
} }
} }
/* this needs to match the default empty region length used in ::make_a_region() */
return std::make_pair (Temporal::timepos_t (Temporal::Beats()), Temporal::timepos_t (Temporal::Beats (32, 0))); return std::make_pair (Temporal::timepos_t (Temporal::Beats()), Temporal::timepos_t (Temporal::Beats (32, 0)));
} }