diff --git a/index.css b/index.css
index e6d6dd43..8256b833 100644
--- a/index.css
+++ b/index.css
@@ -1507,9 +1507,7 @@ rect.fillRect {
}
#pickerSpaces input {
- height: 8px;
- width: 16px;
- text-align: center;
+ width: 22px;
font-size: 9px;
-moz-appearance: textfield;
}
diff --git a/modules/ui/editors.js b/modules/ui/editors.js
index 802692f9..a14cbd12 100644
--- a/modules/ui/editors.js
+++ b/modules/ui/editors.js
@@ -309,7 +309,7 @@ function createPicker() {
const contaiter = d3.select("body").append("svg").attr("id", "pickerContainer").attr("width", "100%").attr("height", "100%");
contaiter.append("rect").attr("x", 0).attr("y", 0).attr("width", "100%").attr("height", "100%").attr("opacity", .2)
.on("mousemove", cl).on("click", closePicker);
- const picker = contaiter.append("g").attr("id", "picker").call(d3.drag().on("start", dragPicker));
+ const picker = contaiter.append("g").attr("id", "picker").call(d3.drag().filter(() => event.target.tagName !== "INPUT").on("start", dragPicker));
const controls = picker.append("g").attr("id", "pickerControls");
const h = controls.append("g");
@@ -347,7 +347,7 @@ function createPicker() {
,
- `;
+ `;
spaces.node().insertAdjacentHTML('beforeend', html);
spaces.selectAll("input").on("change", changePickerSpace);