nvda
c5954630 - Fix logic error in display tracking (#16560)

Commit
1 year ago
Fix logic error in display tracking (#16560) On my machine (set to 1080p), after a while, NVDA repeatedly says "lanscape". In the Python console, I get: >>> _displayTracking.getPrimaryDisplayOrientation() OrientationState(width=1920, height=1080, style=<Orientation.PORTRAIT: 1>) However, since 1920 is greater than 1080, getPrimaryDisplayOrientation().style should be Orientation.LANDSCAPE. Description of how this pull request fixes the issue: Declare parameter names in the call to _getOrientationStyle.
Author
Parents
Loading