Permalink
Browse files

Mythmusic: Fix fullscreen spectrum visualisation.

Signed-off-by: mark-kendall <mkendall@mythtv.org>
  • Loading branch information...
1 parent c0237bb commit a32e77c6527fae48ac6952ee9e0f8fafb033319e Lawrence Rust committed with mark-kendall Mar 16, 2011
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 a32e77c

Please sign in to comment.