Prevent unnecessary redraws of dependencies when opening a container.

Redraw was being done every time a task was rendered and one last time when all
the tasks are rendered. Doing only the last redraw is enough.

This change should improve performance when opening containers.

FEA: ItEr76S04BugFixing
This commit is contained in:
Jacobo Aragunde Pérez 2012-02-14 16:26:12 +01:00
parent 00e0f6c56a
commit 213bc063ac

View file

@ -142,7 +142,6 @@ public class TaskList extends XulElement implements AfterCompose {
taskComponent.afterCompose();
if (relocate) {
getGanttPanel().adjustZoomColumnsHeight();
getGanttPanel().getDependencyList().redrawDependencies();
}
}