mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Added missing repaint in ShapeButton.
This commit is contained in:
parent
a53a50eb35
commit
c21e90a2a7
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ void ShapeButton::setShape (const Path& newShape,
|
|||
setSize (1 + (int) (newBounds.getWidth() + outlineWidth),
|
||||
1 + (int) (newBounds.getHeight() + outlineWidth));
|
||||
}
|
||||
|
||||
repaint();
|
||||
}
|
||||
|
||||
void ShapeButton::paintButton (Graphics& g, bool isMouseOverButton, bool isButtonDown)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue