mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
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:
parent
1d1a53da46
commit
e47b3636d9
1 changed files with 0 additions and 5 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue