-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The code changes in this commit improve the bookmark handling logic. Specifically, the `IsOnMenuBookmark` function has now been merged into `IsOnBookmark`, and the associated functions have been merged/removed as well. `IsOnBookmark` now directly recursively checks for `ROLE_SYSTEM_PUSHBUTTON` or `ROLE_SYSTEM_MENUITEM` under the `hwnd` of `Chrome_Widget_`, so it is no longer necessary to handle bookmarks on the bookmarks bar and bookmarks in bookmark folders with two separate functions. The reimplemented function also resolves #93, as it avoids misjudgments caused by raw traversal of invisible nodes. Co-authored-by: Ritchie1108 <[email protected]>
- Loading branch information
1 parent
2ff38f0
commit b204396
Showing
2 changed files
with
40 additions
and
115 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
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