From 8a76aee9ebe318385aa985e9443223af2ebca164 Mon Sep 17 00:00:00 2001 From: Evan Moscoso Date: Thu, 26 Oct 2023 14:11:44 -0400 Subject: [PATCH] cleanup --- components/2d_network.html | 9 --------- 1 file changed, 9 deletions(-) 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')