[orca] Scroll the current object to the top edge when using structural navigation



commit de2913efcc25bdc3cd1b3cdb7ff32597ec9588e6
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Feb 15 14:22:25 2019 -0500

    Scroll the current object to the top edge when using structural navigation

 src/orca/structural_navigation.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index c36e35392..62e00a2e1 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -31,6 +31,7 @@ import pyatspi
 
 from . import cmdnames
 from . import debug
+from . import eventsynthesizer
 from . import guilabels
 from . import input_event
 from . import keybindings
@@ -1243,6 +1244,7 @@ class StructuralNavigation:
         if self._presentWithSayAll(obj, offset):
             return
 
+        eventsynthesizer.scrollToTopEdge(obj)
         self._script.presentObject(obj, offset=offset, includeContext=includeContext)
 
     def _presentWithSayAll(self, obj, offset):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]