1
0
Fork 0
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:
jules 2013-07-01 22:39:06 +01:00
parent a53a50eb35
commit c21e90a2a7

View file

@ -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)