1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00

Added ScrollBar::parentHierarchyChanged() to correctly handle inherited lookAndFeel changes.

This commit is contained in:
Timur Doumler 2015-07-21 14:34:51 +01:00
parent af643bb49d
commit 5fc9f44581
2 changed files with 7 additions and 0 deletions

View file

@ -331,6 +331,11 @@ void ScrollBar::resized()
updateThumbPosition();
}
void ScrollBar::parentHierarchyChanged()
{
lookAndFeelChanged();
}
void ScrollBar::mouseDown (const MouseEvent& e)
{
isDraggingThumb = false;

View file

@ -376,6 +376,8 @@ public:
void paint (Graphics&) override;
/** @internal */
void resized() override;
/** @internal */
void parentHierarchyChanged() override;
private:
//==============================================================================