From 4650cb7b7515bf662f5da1211e445ca12088cfe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Montero=20Lamas?= Date: Sat, 22 Jan 2022 18:27:32 +0100 Subject: [PATCH] Cleaned code and fixes Cleaned in index.html line 152. Put back: width=".9em" height=".9em" style="margin-bottom:-1px"> for fill. --- index.html | 2 -- modules/ui/editors.js | 1 - modules/ui/zones-editor.js | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 7d6c6832..4331b7c4 100644 --- a/index.html +++ b/index.html @@ -149,8 +149,6 @@ - - diff --git a/modules/ui/editors.js b/modules/ui/editors.js index e04adaa9..47a891d4 100644 --- a/modules/ui/editors.js +++ b/modules/ui/editors.js @@ -517,7 +517,6 @@ function createPicker() { hatches .selectAll("rect") .on("click", pickerFillClicked) - //.on("mousemove", () => tip("Click to fill with the hatching " + #("#picker_" + hatch.id) )); // append box const bbox = picker.node().getBBox(); diff --git a/modules/ui/zones-editor.js b/modules/ui/zones-editor.js index a86428c3..5f4ae7a8 100644 --- a/modules/ui/zones-editor.js +++ b/modules/ui/zones-editor.js @@ -80,7 +80,7 @@ function editZones() { const focused = defs.select("#fog #focus" + this.id).size(); lines += `
- +
${c.length}
@@ -349,7 +349,7 @@ function editZones() { const unit = areaUnit.value === "square" ? " " + distanceUnitInput.value + "²" : " " + areaUnit.value; const line = `
- +
0