@@ -1158,7 +1158,7 @@ def flingBackward(self):
11581158 if DEBUG :
11591159 print >> sys .stderr , "flingBackward: view=" , self .view .__smallStr__ (), self .view .getPositionAndSize ()
11601160 print >> sys .stderr , "self.view.device.drag(%s, %s, %s, %s)" % (s , e , self .duration , self .steps )
1161- self .view .device .drag (s , e , self .duration , self .steps , 0 )
1161+ self .view .device .drag (s , e , self .duration , self .steps , self . view . device . display [ 'orientation' ] )
11621162
11631163 def flingForward (self ):
11641164 if self .vertical :
@@ -1169,7 +1169,7 @@ def flingForward(self):
11691169 if DEBUG :
11701170 print >> sys .stderr , "flingForward: view=" , self .view .__smallStr__ (), self .view .getPositionAndSize ()
11711171 print >> sys .stderr , "self.view.device.drag(%s, %s, %s, %s)" % (s , e , self .duration , self .steps )
1172- self .view .device .drag (s , e , self .duration , self .steps , 0 )
1172+ self .view .device .drag (s , e , self .duration , self .steps , self . view . device . display [ 'orientation' ] )
11731173
11741174 def flingToBeginning (self , maxSwipes ):
11751175 if self .vertical :
0 commit comments