Don't draw anything in MediaView when it is "hidden" by DragListView

This commit is contained in:
Christopher Eby committed 2012-02-20 23:13:43 -06:00
1 parent 9715a39b3d
commit aca31dcd08
1 file changed
+1 -1
+1 -1
View File
@@ -156,7 +156,7 @@ public final class MediaView extends View {
@Override
public void onDraw(Canvas canvas)
{
if (mTitle == null)
if (mTitle == null || getHeight() == 1)
return;
int width = getWidth();