Skip to content

Commit

Permalink
Disable menu discovery animation if MenusDiscoveryDuration is 0. (LP:…
Browse files Browse the repository at this point in the history
… #942962)
  • Loading branch information
azzar1 authored and Bileto Bot committed Sep 1, 2016
2 parents 25c37cc + 41e4e81 commit 1dee573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/PanelMenuView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ void PanelMenuView::DrawContent(nux::GraphicsEngine& GfxContext, bool force_draw

if (new_application_ && !is_inside_)
{
if (opacity() != 1.0f)
if (opacity() != 1.0f && menu_manager_->discovery() > 0)
StartFadeIn(menu_manager_->discovery_fadein());
}
else
Expand Down

0 comments on commit 1dee573

Please sign in to comment.