mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
add some debugging info to help diagnose a crash
This commit is contained in:
parent
5ffc3aa28b
commit
cf14fe75f2
1 changed files with 3 additions and 0 deletions
|
|
@ -352,6 +352,9 @@ PianoRollHeaderBase::render (ArdourCanvas::Rect const & self, ArdourCanvas::Rect
|
|||
|
||||
Gtkmm2ext::set_source_rgba (cr, bg);
|
||||
|
||||
if (_scroomer_size != width() - kbd_width) {
|
||||
std::cerr << "about to crash, scroomer width " << _scroomer_size << " w " << width() << " kbd width " << kbd_width << std::endl;
|
||||
}
|
||||
assert (_scroomer_size == width() - kbd_width);
|
||||
|
||||
double x = _scroomer_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue