mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
markers rework - optional pin shapes
This commit is contained in:
parent
3b47efd9a4
commit
1023bb0676
10 changed files with 52 additions and 23 deletions
|
|
@ -689,6 +689,7 @@ function toggleAddMarker() {
|
|||
}
|
||||
|
||||
function addMarkerOnClick() {
|
||||
// TODO: rework for new markers system
|
||||
const point = d3.mouse(this);
|
||||
const x = rn(point[0], 2);
|
||||
const y = rn(point[1], 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue