Skip to content

Commit

Permalink
Fixed screens animation on menu items switch
Browse files Browse the repository at this point in the history
  • Loading branch information
a-ignatov-parc committed Mar 7, 2017
1 parent 7a8168f commit 6c86516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function render(template) {
const menuItemDocument = menuBar.getDocument(menuItem);

if (menuItemDocument !== document) {
menuBar.setDocument(document, menuItem);
setTimeout(() => menuBar.setDocument(document, menuItem), RENDERING_ANIMATION);
}
} else if (renderedDocument) {
navigationDocument.replaceDocument(document, renderedDocument);
Expand Down

0 comments on commit 6c86516

Please sign in to comment.