cinera_search_post.js: Fix auto-scrolling

Pass CineraProps.IsMobile to InitScrollEventListener()
This commit is contained in:
Matt Mascarenhas 2021-02-10 23:50:43 +00:00
parent 20d7e82a66
commit b6fff3cc24
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ typedef struct
version CINERA_APP_VERSION = { version CINERA_APP_VERSION = {
.Major = 0, .Major = 0,
.Minor = 8, .Minor = 8,
.Patch = 7 .Patch = 8
}; };
#include <stdarg.h> // NOTE(matt): varargs #include <stdarg.h> // NOTE(matt): varargs

View File

@ -55,7 +55,7 @@ BindGridKeys(Nav.GridSize);
BindControls(); BindControls();
InitResizeEventListener(); InitResizeEventListener();
InitOrientationChangeListener(); InitOrientationChangeListener();
InitScrollEventListener(Nav.GridContainer, Nav.Controls.Header); InitScrollEventListener(Nav.GridContainer, CineraProps.IsMobile, Nav.Controls.Header);
// //
//// ////