diff --git a/components/2d_network.html b/components/2d_network.html index 046c98fb..e6b94ade 100644 --- a/components/2d_network.html +++ b/components/2d_network.html @@ -2898,15 +2898,6 @@ const isMac = navigator.platform.toUpperCase().indexOf('MAC') >= 0; - // d3.select(window).on('keydown keyup', function () { - // const keyToCheck = isMac ? 'metaKey' : 'ctrlKey'; - // console.log('isMac: ', isMac); - // d3.select('g.brush') - // .attr('pointer-events', d3.event[keyToCheck] ? 'all' : 'none') - // .select('rect.overlay') - // .attr('pointer-events', d3.event[keyToCheck] ? 'all' : 'none'); - // }); - d3.select(window).on('keydown keyup', function () { const keyToCheck = isMac ? event.metaKey : event.ctrlKey; d3.select('g.brush')