1
0
Fork 0
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:
reuk 2024-09-11 13:50:44 +01:00
parent 68d0ea9dfb
commit 555b667d22
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
8 changed files with 26 additions and 1 deletions

View file

@ -343,7 +343,7 @@ bool Component::isShowing() const
return parentComponent->isShowing();
if (auto* peer = getPeer())
return ! peer->isMinimised();
return peer->isShowing();
return false;
}