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:
parent
8174ad00b3
commit
f73c8e0c59
1 changed files with 3 additions and 0 deletions
|
|
@ -179,7 +179,10 @@ void Viewport::componentMovedOrResized (Component&, bool, bool)
|
|||
void Viewport::lookAndFeelChanged()
|
||||
{
|
||||
if (! customScrollBarThickness)
|
||||
{
|
||||
scrollBarThickness = getLookAndFeel().getDefaultScrollbarWidth();
|
||||
resized();
|
||||
}
|
||||
}
|
||||
|
||||
void Viewport::resized()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue