Skip to content

Commit

Permalink
tracktion: fix endless paint messages when resizing header
Browse files Browse the repository at this point in the history
  • Loading branch information
FigBug committed Aug 6, 2021
1 parent 0163f5c commit 871a413
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -174,7 +174,7 @@ void TableHeaderComponent::setColumnWidth (const int columnId, const int newWidt
{
if (auto* ci = getInfoForId (columnId))
{
if (ci->width != newWidth)
if (ci->width != jlimit (ci->minimumWidth, ci->maximumWidth, newWidth))
{
auto numColumns = getNumColumns (true);

Expand Down

0 comments on commit 871a413

Please sign in to comment.