Skip to content
Snippets Groups Projects
Commit 8446ab93 authored by Chris Beer's avatar Chris Beer
Browse files

Try the smart align mode for the thumbnail view

parent 371ac841
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ export class ThumbnailNavigation extends Component {
if (prevProps.canvasIndex !== canvasIndex) {
let index = canvasIndex;
if (view === 'book') index = Math.ceil(index / 2);
this.gridRef.current.scrollToItem(index, 'center');
this.gridRef.current.scrollToItem(index, 'smart');
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment