mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Accessibility: Fix inaccessible MenuBarComponent items
This commit is contained in:
parent
a2f7aaab2f
commit
1028b6e5d1
1 changed files with 0 additions and 7 deletions
|
|
@ -51,13 +51,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
AccessibleState getCurrentState() const override
|
||||
{
|
||||
auto state = AccessibilityHandler::getCurrentState().withSelectable();
|
||||
|
||||
return state.isFocused() ? state.withSelected() : state;
|
||||
}
|
||||
|
||||
String getTitle() const override { return itemComponent.name; }
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue