1
0
Fork 0
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:
ed 2021-07-23 17:16:39 +01:00
parent a2f7aaab2f
commit 1028b6e5d1

View file

@ -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: