Fixed dice select double click select and scaling

This commit is contained in:
Mitchell McCaffrey
2021-04-01 11:11:56 +11:00
parent 2e404b24e0
commit c9993605c4
5 changed files with 19 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ function MapTile({
isSelected={isSelected}
onSelect={() => onMapSelect(map)}
onEdit={() => onMapEdit(map.id)}
onDoubleClick={onDone}
onDoubleClick={() => canEdit && onDone()}
size={size}
canEdit={canEdit}
badges={badges}