From a74f2604de0825eeeeda41158e9b9c1a32a2dd3c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 7 Aug 2024 15:11:40 +0100 Subject: [PATCH] JAL-4446 reuse lasteta value --- src/jalview/gui/PairwiseAlignPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/PairwiseAlignPanel.java b/src/jalview/gui/PairwiseAlignPanel.java index c3085d8..e9b5ffa 100755 --- a/src/jalview/gui/PairwiseAlignPanel.java +++ b/src/jalview/gui/PairwiseAlignPanel.java @@ -277,7 +277,7 @@ public class PairwiseAlignPanel extends GPairwiseAlignPanel double lasteta=etime; double rate = ((double)(System.currentTimeMillis()-time))/(double)progress; etime = rate*(total-progress)/60000; - firePropertyChange(ETA, 0,etime); + firePropertyChange(ETA, lasteta,etime); } } alignmentScores[count - 1][count - 1] = Float.NaN; -- 1.7.10.2