Skip to content

Commit

Permalink
Clarify 254 constant
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLorenz committed Aug 8, 2024
1 parent 97460c4 commit 1a7a56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/EffectRackView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void EffectRackView::modelChanged()
QSize EffectRackView::sizeHint() const
{
// Use the formula from InstrumentTrackWindow.cpp
return QSize{EffectRackView::DEFAULT_WIDTH, 254 - 4 - 1};
return QSize{EffectRackView::DEFAULT_WIDTH, 254 /* INSTRUMENT_HEIGHT */ - 4 - 1};
}


Expand Down

0 comments on commit 1a7a56a

Please sign in to comment.