Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Mythmusic: Fix fullscreen spectrum visualisation.

Signed-off-by: mark-kendall <mkendall@mythtv.org>
  • Loading branch information...
commit a32e77c6527fae48ac6952ee9e0f8fafb033319e 1 parent c0237bb
authored March 16, 2011 mark-kendall committed March 16, 2011
3  mythplugins/mythmusic/mythmusic/visualize.cpp
@@ -104,6 +104,9 @@ void Spectrum::resize(const QSize &newsize)
104 104
 
105 105
     size = newsize;
106 106
 
  107
+    analyzerBarWidth = size.width() / 64;
  108
+    if (analyzerBarWidth < 6)
  109
+        analyzerBarWidth = 6;
107 110
     scale.setMax(192, size.width() / analyzerBarWidth);
108 111
 
109 112
     rects.resize( scale.range() );

0 notes on commit a32e77c

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