@@ -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());
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user