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

Fixed bug where Viewport::lookAndFeelChanged() would not update its visibleArea if the call changed its scrollBarThickness.

This commit is contained in:
Timur Doumler 2016-01-25 12:37:25 +00:00
parent 8174ad00b3
commit f73c8e0c59

View file

@ -179,7 +179,10 @@ void Viewport::componentMovedOrResized (Component&, bool, bool)
void Viewport::lookAndFeelChanged()
{
if (! customScrollBarThickness)
{
scrollBarThickness = getLookAndFeel().getDefaultScrollbarWidth();
resized();
}
}
void Viewport::resized()