1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Accessibility: Ignore Viewport content holder

This commit is contained in:
ed 2021-05-20 17:58:01 +01:00
parent 82a5911d56
commit 9147a5e535

View file

@ -31,6 +31,7 @@ Viewport::Viewport (const String& name) : Component (name)
// content holder is used to clip the contents so they don't overlap the scrollbars
addAndMakeVisible (contentHolder);
contentHolder.setInterceptsMouseClicks (false, true);
contentHolder.setAccessible (false);
scrollBarThickness = getLookAndFeel().getDefaultScrollbarWidth();