remove crashing assert() when rendering scroomer

Too hard to get a floating point assert correct, but I think this is still a little
incorrect because we do not scale the kbd size when rendering it.
This commit is contained in:
Paul Davis 2025-08-19 09:37:23 -06:00 committed by Edgar Aichinger
parent 1d1a53da46
commit e47b3636d9

View file

@ -352,11 +352,6 @@ 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;
double y = positions[n];