Skip to content

Commit

Permalink
Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulFreund committed Nov 27, 2023
1 parent b9b00b3 commit ae3d2d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/deluge/gui/views/automation_instrument_clip_view.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -819,10 +819,12 @@ void AutomationInstrumentClipView::renderDisplay(int32_t knobPosLeft, int32_t kn
//if you're not in a MIDI instrument clip, convert the knobPos to the same range as the menu (0-50)
if (instrument->type != InstrumentType::MIDI_OUT) {
if (knobPosLeft != kNoSelection) {
knobPosLeft = view.calculateKnobPosForDisplay(clip->lastSelectedParamKind, clip->lastSelectedParamID, knobPosLeft);
knobPosLeft =
view.calculateKnobPosForDisplay(clip->lastSelectedParamKind, clip->lastSelectedParamID, knobPosLeft);
}
if (knobPosRight != kNoSelection) {
knobPosRight = view.calculateKnobPosForDisplay(clip->lastSelectedParamKind, clip->lastSelectedParamID, knobPosRight);
knobPosRight =
view.calculateKnobPosForDisplay(clip->lastSelectedParamKind, clip->lastSelectedParamID, knobPosRight);
}
}

Expand Down

0 comments on commit ae3d2d4

Please sign in to comment.