mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
ComponentPeer: Add isShowing() member, which more closely matches expected behaviour of Component::isShowing
This commit is contained in:
parent
68d0ea9dfb
commit
555b667d22
8 changed files with 26 additions and 1 deletions
|
|
@ -343,7 +343,7 @@ bool Component::isShowing() const
|
|||
return parentComponent->isShowing();
|
||||
|
||||
if (auto* peer = getPeer())
|
||||
return ! peer->isMinimised();
|
||||
return peer->isShowing();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue