mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DemoRunner: Fixed a home screen navigation bug
This commit is contained in:
parent
8ec7de426b
commit
95396b150d
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ void DemoContentComponent::setDemo (const String& category, int selectedDemoInde
|
|||
|
||||
bool DemoContentComponent::isShowingHomeScreen() const noexcept
|
||||
{
|
||||
return isComponentIntroDemo (demoContent->getComponent());
|
||||
return isComponentIntroDemo (demoContent->getComponent()) && getCurrentTabIndex() == 0;
|
||||
}
|
||||
|
||||
void DemoContentComponent::showHomeScreen()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue