Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mossy1022 committed Oct 26, 2023
1 parent f219e2c commit 8a76aee
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions components/2d_network.html
Original file line number Diff line number Diff line change
Expand Up @@ -2898,15 +2898,6 @@ <h5 class="modal-title">Export Network Image</h5>

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')
Expand Down

0 comments on commit 8a76aee

Please sign in to comment.