mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Accessibility: Send structure change message when TreeView viewport is scrolled
This commit is contained in:
parent
9147a5e535
commit
5e6fe0db3d
1 changed files with 4 additions and 0 deletions
|
|
@ -625,6 +625,10 @@ public:
|
|||
const auto hasScrolledSideways = (newVisibleArea.getX() != lastX);
|
||||
lastX = newVisibleArea.getX();
|
||||
updateComponents (hasScrolledSideways);
|
||||
|
||||
if (auto* tree = getParentComponent())
|
||||
if (auto* handler = tree->getAccessibilityHandler())
|
||||
handler->notifyAccessibilityEvent (AccessibilityEvent::structureChanged);
|
||||
}
|
||||
|
||||
ContentComponent* getContentComp() const noexcept
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue