mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.3.43
This commit is contained in:
parent
b9dd28e5ee
commit
bdc8db2354
2 changed files with 3 additions and 5 deletions
|
|
@ -1507,9 +1507,7 @@ rect.fillRect {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pickerSpaces input {
|
#pickerSpaces input {
|
||||||
height: 8px;
|
width: 22px;
|
||||||
width: 16px;
|
|
||||||
text-align: center;
|
|
||||||
font-size: 9px;
|
font-size: 9px;
|
||||||
-moz-appearance: textfield;
|
-moz-appearance: textfield;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -309,7 +309,7 @@ function createPicker() {
|
||||||
const contaiter = d3.select("body").append("svg").attr("id", "pickerContainer").attr("width", "100%").attr("height", "100%");
|
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)
|
contaiter.append("rect").attr("x", 0).attr("y", 0).attr("width", "100%").attr("height", "100%").attr("opacity", .2)
|
||||||
.on("mousemove", cl).on("click", closePicker);
|
.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 controls = picker.append("g").attr("id", "pickerControls");
|
||||||
const h = controls.append("g");
|
const h = controls.append("g");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue