JAL-2774 Created single event for update to both start residue and seq
[jalview.git] / src / jalview / appletgui / IdCanvas.java
index 5eddc4f..dc906f4 100755 (executable)
@@ -448,5 +448,10 @@ public class IdCanvas extends Panel implements ViewportListenerI
     {
       fastPaint((int) evt.getNewValue() - (int) evt.getOldValue());
     }
+    else if (propertyName.equals(ViewportRanges.STARTRESANDSEQ))
+    {
+      fastPaint(((int[]) evt.getNewValue())[1]
+              - ((int[]) evt.getOldValue())[1]);
+    }
   }
 }