Skip to content

Commit

Permalink
Merge pull request #235 from TEAMuP-dev/np/labellinks
Browse files Browse the repository at this point in the history
Update label width
  • Loading branch information
xribene authored Oct 28, 2024
2 parents 852b607 + 655c638 commit 027dd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/media/MediaDisplayComponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void MediaDisplayComponent::repositionLabelOverlays()

float pixelsPerSecond = mediaWidth / visibleRange.getLength();

float minLabelWidth = 0.0015 * pixelsPerSecond;
float minLabelWidth = 0.1 * getMediaWidth();
float maxLabelWidth = 0.10 * pixelsPerSecond;

float contentWidth = getContentBounds().getWidth();
Expand Down

0 comments on commit 027dd0a

Please sign in to comment.