mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor clean-ups.
This commit is contained in:
parent
71f2580f2b
commit
8f26cc79c9
5 changed files with 12 additions and 10 deletions
|
|
@ -95,9 +95,7 @@ void DropShadower::setOwner (Component* componentToFollow)
|
|||
jassert (componentToFollow != nullptr);
|
||||
|
||||
owner = componentToFollow;
|
||||
|
||||
jassert (owner != nullptr);
|
||||
jassert (owner->isOpaque()); // doesn't work properly for semi-transparent comps!
|
||||
|
||||
updateParent();
|
||||
owner->addComponentListener (this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue