Skip to content

Commit

Permalink
rename updateMappings() to updateMappingsXML()
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorp committed Apr 22, 2024
1 parent 8aac8fb commit 742bcb8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/fencer.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function loadFontFromArrayBuffer (arrayBuffer, options={}) {
Q("#delete-mapping").onclick = deleteMapping;

// init the mappings xml
updateMappings();
updateMappingsXML();


});
Expand Down Expand Up @@ -580,7 +580,7 @@ function addMapping() {

// update stuff
updateMappingsSVG();
updateMappings();
updateMappingsXML();
}

function deleteMapping() {
Expand Down Expand Up @@ -614,7 +614,7 @@ function deleteMapping() {

// update stuff
updateMappingsSVG();
updateMappings();
updateMappingsXML();
}

function svgArrow(i, x1, y1, x2, y2) {
Expand Down Expand Up @@ -721,7 +721,7 @@ function svgMouseMove(e) {
}

updateMappingsSliders(index);
updateMappings();
updateMappingsXML();
}
}

Expand Down Expand Up @@ -870,7 +870,7 @@ function updateMappingsSVG() {



function updateMappings() {
function updateMappingsXML() {

// update XML
let str = "<mappings>\n";
Expand Down

0 comments on commit 742bcb8

Please sign in to comment.