Skip to content

Commit

Permalink
Disable menu discovery animation if MenusDiscoveryDuration is 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
azzar1 committed Aug 12, 2016
1 parent d3d3fe8 commit 41e4e81
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 41e4e81

Please sign in to comment.