mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
feat: letter-spacing - update style files
This commit is contained in:
parent
dbe6ef1854
commit
2fea87344b
15 changed files with 81 additions and 15 deletions
|
|
@ -247,7 +247,7 @@ function selectStyleElement() {
|
|||
styleFillInput.value = styleFillOutput.value = el.attr("fill") || "#3e3e4b";
|
||||
styleStrokeInput.value = styleStrokeOutput.value = el.attr("stroke") || "#3a3a3a";
|
||||
styleStrokeWidthInput.value = el.attr("stroke-width") || 0;
|
||||
styleLetterSpacingInput.value = el.attr("letter-spacing")+"px" || "0px";
|
||||
styleLetterSpacingInput.value = el.attr("letter-spacing") || 0;
|
||||
styleShadowInput.value = el.style("text-shadow") || "white 0 0 4px";
|
||||
|
||||
styleFont.style.display = "block";
|
||||
|
|
@ -436,7 +436,6 @@ styleStrokeWidthInput.addEventListener("input", e => {
|
|||
|
||||
styleLetterSpacingInput.addEventListener("input", e => {
|
||||
getEl().attr("letter-spacing", e.target.value);
|
||||
if (styleElementSelect.value === "gridOverlay" && layerIsOn("toggleGrid")) drawGrid();
|
||||
});
|
||||
|
||||
styleStrokeDasharrayInput.addEventListener("input", function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue