Skip to content

Commit ce753d9

Browse files
authored
fix: no need to check isEnabled in go code (#59)
1 parent 22b1fa3 commit ce753d9

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ This is an intentional design choice to keep the project lean, maintainable, and
6060

6161
### Consideration (NOT roadmap)
6262

63-
- Dock is not working with hints now, find out why...
6463
- Consider zIndex for hints on different layers? There might be multiple layers when we are considering `Menubar`, `Dock` and `Notification bar`
6564
- Better UI representation for action menu (maybe auto edge detection like tooltip in browser, that will place itself around the element based on the space available around it)
6665
- Find a way to auto deduplicate hints that are targeting the same point

internal/accessibility/element.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,6 @@ func (e *Element) IsClickable() bool {
601601
globalCache.Set(e, info)
602602
}
603603

604-
if !info.IsEnabled {
605-
return false
606-
}
607-
608604
// First check if the role is in the clickable roles list
609605
clickableRolesMu.RLock()
610606
_, ok := clickableRoles[info.Role]

0 commit comments

Comments
 (0)