Small fixes.

Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
Jeffrey Han
2015-02-02 01:39:19 -05:00
parent ec90d6fd03
commit b96a20e23f
3 changed files with 17 additions and 12 deletions

View File

@@ -136,6 +136,7 @@ public class DownloadList {
DownloadNode node = iter.next();
Download dl = node.getDownload();
if (dl != null && !dl.isActive()) {
node.clearDownload();
iter.remove();
map.remove(node.getID());
}

View File

@@ -337,7 +337,7 @@ public class DownloadNode {
float marginY = infoHeight * 0.04f;
// rectangle outline
g.setColor((id % 2 == 0) ? BG_FOCUS : BG_NORMAL);
g.setColor((id % 2 == 0) ? BG_HOVER : BG_NORMAL);
g.fillRect(infoBaseX, y, infoWidth, infoHeight);
// text