mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-04-07 16:06:05 +02:00
feat: Implement RuntimeDefsModule for managing shared runtime definitions and update related components
This commit is contained in:
parent
f928f9d101
commit
73d6d664fc
14 changed files with 126 additions and 43 deletions
|
|
@ -649,8 +649,7 @@ function addLabelOnClick() {
|
|||
.attr("x", 0)
|
||||
.text(name);
|
||||
|
||||
defs
|
||||
.select("#textPaths")
|
||||
RuntimeDefs.getTextPaths()
|
||||
.append("path")
|
||||
.attr("id", "textPath_" + id)
|
||||
.attr("d", `M${point[0] - width},${point[1]} h${width * 2}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue