From ae3d2d42ef598676a587bce12bd6d5c5f3b002ff Mon Sep 17 00:00:00 2001 From: Paul Freund Date: Mon, 27 Nov 2023 16:37:48 +0100 Subject: [PATCH] Format fix --- src/deluge/gui/views/automation_instrument_clip_view.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/deluge/gui/views/automation_instrument_clip_view.cpp b/src/deluge/gui/views/automation_instrument_clip_view.cpp index b08a709dca..8febd5ca30 100644 --- a/src/deluge/gui/views/automation_instrument_clip_view.cpp +++ b/src/deluge/gui/views/automation_instrument_clip_view.cpp @@ -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); } }