Browse Source

Ensure that the expand button remains visible in MultiChoicePropertyComponent when expanding/shrinking the choice list

tags/2021-05-28
ed 7 years ago
parent
commit
97a4084804
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp

+ 2
- 0
modules/juce_gui_basics/properties/juce_MultiChoicePropertyComponent.cpp View File

@@ -326,6 +326,8 @@ void MultiChoicePropertyComponent::setExpanded (bool isExpanded) noexcept
expandButton.setTransform (AffineTransform::rotation (expanded ? MathConstants<float>::pi : MathConstants<float>::twoPi,
(float) expandButton.getBounds().getCentreX(),
(float) expandButton.getBounds().getCentreY()));
resized();
}
//==============================================================================


Loading…
Cancel
Save