Browse Source

Added missing repaint in ShapeButton.

tags/2021-05-28
jules 12 years ago
parent
commit
c21e90a2a7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_gui_basics/buttons/juce_ShapeButton.cpp

+ 2
- 0
modules/juce_gui_basics/buttons/juce_ShapeButton.cpp 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)


Loading…
Cancel
Save