32 using Integer::Integer;
35 if (!isUIModeActive(UI_MODE_AUDITIONING)) {
36 display->displayPopup(
"Select Row");
43 auto* clip =
static_cast<InstrumentClip*
>(modelStack->getTimelineCounter());
45 clip->getNoteRowOnScreen(instrumentClipView.lastAuditionedYDisplay,
48 bool isKit = clip->output->type == OutputType::KIT;
51 if (!modelStackWithNoteRow->getNoteRowAllowNull()) {
52 modelStackWithNoteRow =
53 instrumentClipView.createNoteRowForYDisplay(modelStack, instrumentClipView.lastAuditionedYDisplay);
57 return modelStackWithNoteRow;
60 void updateDisplay() {
61 if (display->haveOLED()) {