Browse Source

Remove console logs

master
jeffvli 3 years ago
parent
commit
56fcafa501
  1. 2
      src/components/viewtypes/ListViewType.tsx

2
src/components/viewtypes/ListViewType.tsx

@ -157,11 +157,9 @@ const ListViewType = (
onMouseDown={(e) => { onMouseDown={(e) => {
e.preventDefault(); e.preventDefault();
if (e.button === 1) { if (e.button === 1) {
console.log('middle click');
setIsDragging(true); setIsDragging(true);
} }
if (e.button === 0 && isDragging) { if (e.button === 0 && isDragging) {
console.log('left click');
setIsDragging(false); setIsDragging(false);
} }
}} }}

Loading…
Cancel
Save