Skip to content

Commit 6e7c4a4

Browse files
Fixes #5061: Fix Effect Rack View in Instrument
The EffectRackView in an InstrumentTrackWindow had some parts hidden when loading files with >= 4 effects. This was now fixed by force-resizing the EffectRackView to its desired size. It's a dirty fix, but good enough, plus many Instrument UIs might get rewritten to be resizable in the future.
1 parent ba6a86d commit 6e7c4a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tracks/InstrumentTrack.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,8 @@ InstrumentTrackWindow::InstrumentTrackWindow( InstrumentTrackView * _itv ) :
14771477
adjustTabSize(m_ssView);
14781478
adjustTabSize(instrumentFunctions);
14791479
adjustTabSize(m_effectView);
1480+
// stupid bugfix, no one knows why
1481+
m_effectView->resize(INSTRUMENT_WIDTH - 4, INSTRUMENT_HEIGHT - 4 - 1);
14801482
adjustTabSize(m_midiView);
14811483
adjustTabSize(m_miscView);
14821484

0 commit comments

Comments
 (0)