Skip to content

Commit

Permalink
Game menu fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
veloce committed May 17, 2020
1 parent e24c475 commit 00d5c01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/gamesMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ export default {

return h('div#games_menu.overlay_popup_wrapper', {
onbeforeremove: menuOnBeforeRemove
}, [
}, h.fragment({ key: helper.isPortrait() ? 'portrait' : 'landscape' }, [
h('div.wrapper_overlay_close', { oncreate: menuOnOverlayTap }),
renderDotsWrapper(),
h('div#wrapper_games', renderAllGames()),
])
]))
}
}

Expand All @@ -68,7 +68,7 @@ function wrapperOnCreate({ dom }: Mithril.VnodeDOM<any, any>) {
scroller = new Siema({
selector: dom as HTMLElement,
duration: 150,
loop: true,
loop: false,
easing: 'ease-out',
perPage: helper.isTablet() ? 2 : 1,
startIndex: 0,
Expand Down

0 comments on commit 00d5c01

Please sign in to comment.