From 138d75aa7e1717540b769d165fc6321c90860e22 Mon Sep 17 00:00:00 2001 From: Max <m.giller@tu-braunschweig.de> Date: Mon, 3 Jan 2022 00:25:04 +0100 Subject: [PATCH] Removed comments --- editor/js/state.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/js/state.js b/editor/js/state.js index 7240919..7fa5c11 100644 --- a/editor/js/state.js +++ b/editor/js/state.js @@ -139,8 +139,6 @@ export class State extends Tool { return toolValue; } - // TODO: Clean up function - // add ring just for highlighted nodes if (this.selectedItem === node || this.selectedItems.has(node)) { ctx.beginPath(); @@ -191,8 +189,6 @@ export class State extends Tool { ctx.fillStyle = "white"; ctx.fillText(label, node.x, node.y + nodeHeightOffset); } - - // TODO: Render label as always visible } nodePointerAreaPaint(node, color, ctx) { -- GitLab