Scene selection improvements (#642)

* Select subsequent scenes on card click
This commit is contained in:
WithoutPants
2020-07-01 11:50:43 +10:00
committed by GitHub
parent d516947af2
commit 3157d748bc
4 changed files with 62 additions and 12 deletions

View File

@@ -100,6 +100,7 @@ export const SceneList: React.FC<ISceneList> = ({
key={scene.id}
scene={scene}
zoomIndex={zoomIndex}
selecting={selectedIds.size > 0}
selected={selectedIds.has(scene.id)}
onSelectedChanged={(selected: boolean, shiftKey: boolean) =>
listData.onSelectChange(scene.id, selected, shiftKey)