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:
parent
af643bb49d
commit
5fc9f44581
2 changed files with 7 additions and 0 deletions
|
|
@ -331,6 +331,11 @@ void ScrollBar::resized()
|
|||
updateThumbPosition();
|
||||
}
|
||||
|
||||
void ScrollBar::parentHierarchyChanged()
|
||||
{
|
||||
lookAndFeelChanged();
|
||||
}
|
||||
|
||||
void ScrollBar::mouseDown (const MouseEvent& e)
|
||||
{
|
||||
isDraggingThumb = false;
|
||||
|
|
|
|||
|
|
@ -376,6 +376,8 @@ public:
|
|||
void paint (Graphics&) override;
|
||||
/** @internal */
|
||||
void resized() override;
|
||||
/** @internal */
|
||||
void parentHierarchyChanged() override;
|
||||
|
||||
private:
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue