Skip to content

Commit 153aeff

Browse files
committed
refactor comment out unused code, indicate noop
1 parent b3bbc8e commit 153aeff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/graph/overlayManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* that visually attach to nodes/edges (e.g., note-count badges, "unseen/visited" badges).
66
*/
77

8-
import { printDebug } from "../utils/debug.js";
8+
// import { printDebug } from "../utils/debug.js";
99

1010
//// Dependencies (soft): tokens for sizes/offsets //////////////////////////////////
1111

@@ -375,7 +375,7 @@ export function attach(cy) {
375375
const n = evt.target;
376376
if (!n || !n.isNode()) return;
377377
// Kill any queued animations and keep it inert, but do not lock:
378-
try { n.stop(true, true); n.ungrabify(); n.selectify(false); } catch {}
378+
try { n.stop(true, true); n.ungrabify(); n.selectify(false); } catch { /* noop */ }
379379
};
380380

381381
cy.scratch('_overlayManager_attached', true);

0 commit comments

Comments
 (0)