Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Mythmusic: Fix fullscreen spectrum visualisation.

Signed-off-by: mark-kendall <mkendall@mythtv.org>
(cherry picked from commit a32e77c)
  • Loading branch information...
commit 223142cf3970f303a907ac935ffd063925dcb514 1 parent a6decbc
Lawrence Rust authored mark-kendall committed
Showing with 3 additions and 0 deletions.
  1. +3 −0  mythplugins/mythmusic/mythmusic/visualize.cpp
View
3  mythplugins/mythmusic/mythmusic/visualize.cpp
@@ -104,6 +104,9 @@ void Spectrum::resize(const QSize &newsize)
size = newsize;
+ analyzerBarWidth = size.width() / 64;
+ if (analyzerBarWidth < 6)
+ analyzerBarWidth = 6;
scale.setMax(192, size.width() / analyzerBarWidth);
rects.resize( scale.range() );

0 comments on commit 223142c

Please sign in to comment.
Something went wrong with that request. Please try again.