Commit d67c6e7
committed
Fix #50 by zooming in a level
The reportFocus() function handles the zoom since that seems to be where NVDA first tells MathCAT it should navigate.
An alternative would be in `script_navigate`. In there, `gesture` is `None`. It seems cleaner in reportFocus().
I needed to remove the 'SetMathML' call in `__init__` because that wipes out the navigation state.
As far as I could see, nothing bad happens with that call removed.1 parent 2213443 commit d67c6e7
1 file changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 136 | | |
142 | 137 | | |
143 | 138 | | |
144 | 139 | | |
145 | | - | |
146 | | - | |
| 140 | + | |
| 141 | + | |
147 | 142 | | |
148 | 143 | | |
149 | 144 | | |
| |||
182 | 177 | | |
183 | 178 | | |
184 | 179 | | |
185 | | - | |
| 180 | + | |
186 | 181 | | |
187 | 182 | | |
188 | 183 | | |
| |||
0 commit comments