JAL-2774 Created single event for update to both start residue and seq
[jalview.git] / src / jalview / gui / ScalePanel.java
index 1db4051..6b2f9c9 100755 (executable)
@@ -549,7 +549,8 @@ public class ScalePanel extends JPanel
     // Here we only want to fastpaint on a scroll, with resize using a normal
     // paint, so scroll events are identified as changes to the horizontal or
     // vertical start value.
-    if (evt.getPropertyName().equals(ViewportRanges.STARTRES))
+    if (evt.getPropertyName().equals(ViewportRanges.STARTRES)
+            || evt.getPropertyName().equals(ViewportRanges.STARTRESANDSEQ))
     {
       // scroll event, repaint panel
       repaint();