Mercurial > hg > svgui
comparison layer/BoxLayer.cpp @ 1552:045063dcd2bc
Merge
author | Chris Cannam |
---|---|
date | Thu, 21 Nov 2019 14:03:19 +0000 |
parents | e95cefd4aa81 |
children |
comparison
equal
deleted
inserted
replaced
1551:e79731086b0f | 1552:045063dcd2bc |
---|---|
538 sv_samplerate_t sampleRate = model->getSampleRate(); | 538 sv_samplerate_t sampleRate = model->getSampleRate(); |
539 if (!sampleRate) return; | 539 if (!sampleRate) return; |
540 | 540 |
541 // Profiler profiler("BoxLayer::paint", true); | 541 // Profiler profiler("BoxLayer::paint", true); |
542 | 542 |
543 int x0 = rect.left() - 40, x1 = rect.right(); | 543 int x0 = rect.left() - 40; |
544 int x1 = x0 + rect.width() + 80; | |
544 | 545 |
545 sv_frame_t wholeFrame0 = v->getFrameForX(0); | 546 sv_frame_t wholeFrame0 = v->getFrameForX(0); |
546 sv_frame_t wholeFrame1 = v->getFrameForX(v->getPaintWidth()); | 547 sv_frame_t wholeFrame1 = v->getFrameForX(v->getPaintWidth()); |
547 | 548 |
548 EventVector points(model->getEventsSpanning(wholeFrame0, | 549 EventVector points(model->getEventsSpanning(wholeFrame0, |