-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed the problem that some buttons in PDFgear could not get the desc…
…ription text.
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# mouseEnhancements add-on for NVDA | ||
# This file is covered by the GNU General Public License. | ||
# See the file COPYING.txt for more details. | ||
# Copyright (C) 2024 hwf1324 <[email protected]> | ||
|
||
"""PDFgear appModule. | ||
""" | ||
|
||
import appModuleHandler | ||
import controlTypes | ||
from NVDAObjects import NVDAObject | ||
|
||
|
||
class AppModule(appModuleHandler.AppModule): | ||
def event_NVDAObject_init(self, obj: NVDAObject): | ||
if controlTypes.Role.BUTTON == obj.role and not obj.name: | ||
obj.name = obj.lastChild.name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Mouse Enhancements | ||
|
||
This is a collection of enhancements for mouse usage in NVDA. | ||
Some features may be moved out as standalone features in the future. | ||
|
||
* Author: hwf1324 <[email protected]> | ||
* Compatibility: NVDA-2024.4 or later | ||
|
@@ -10,6 +11,7 @@ This is a collection of enhancements for mouse usage in NVDA. | |
* Fix mouse tracking in [Electron](https://www.electronjs.org/) apps. | ||
* Electron apps, such as [VS Code](https://code.visualstudio.com/). | ||
* Fix a part of the NVIDIA Control Panel where the content of the static text description control is incorrect. | ||
* Fixed the problem that some buttons in [PDFgear](https://www.pdfgear.com/) could not get the description text. | ||
|
||
## Usage | ||
|
||
|
@@ -24,6 +26,7 @@ None. | |
## 0.2.0 | ||
|
||
* Fix a part of the NVIDIA Control Panel where the content of the static text description control is incorrect. | ||
* Fixed the problem that some buttons in PDFgear could not get the description text. | ||
|
||
### 0.1.0 | ||
|
||
|