1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Projucer: Accessibility updates

This commit is contained in:
ed 2021-05-10 09:39:25 +01:00
parent ec990202b1
commit 69085b2a61
31 changed files with 567 additions and 333 deletions

View file

@ -487,6 +487,10 @@ void MainWindow::showLoginFormOverlay()
{
blurOverlayComponent = std::make_unique<BlurOverlayWithComponent> (*this, std::make_unique<LoginFormComponent> (*this));
loginFormOpen = true;
if (auto* loginForm = blurOverlayComponent->getChildComponent (0))
if (auto* handler = loginForm->getAccessibilityHandler())
handler->grabFocus();
}
void MainWindow::hideLoginFormOverlay()