1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

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

This commit is contained in:
ed 2018-04-10 11:21:35 +01:00
parent 5fdfe3ceda
commit 97a4084804

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();
}
//==============================================================================