diff view/Pane.cpp @ 270:61a704654497

...
author Chris Cannam
date Tue, 26 Jun 2007 14:57:29 +0000
parents 70537b0434c4
children 87e4c880b4c8
line wrap: on
line diff
--- a/view/Pane.cpp	Tue Jun 26 12:27:47 2007 +0000
+++ b/view/Pane.cpp	Tue Jun 26 14:57:29 2007 +0000
@@ -1268,10 +1268,7 @@
 
         Layer *layer = getTopLayer();
         if (layer) layer->measureDrag(this, e);
-
-        if (hasTopLayerTimeXAxis()) {
-            edgeScrollMaybe(e->x());
-        }
+        if (layer->hasTimeXAxis()) edgeScrollMaybe(e->x());
 
         update();
     }