From: Jim Procter Date: Wed, 7 Aug 2024 14:11:40 +0000 (+0100) Subject: JAL-4446 reuse lasteta value X-Git-Tag: Release_2_11_4_0~14^2~6^2~7 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a74f2604de0825eeeeda41158e9b9c1a32a2dd3c;p=jalview.git JAL-4446 reuse lasteta value --- 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;