Skip to content

Commit

Permalink
Bug fixed in dragdrop (axis list was not being reset)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorp committed Apr 30, 2024
1 parent ae26583 commit 2a9363d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fencer.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,9 @@ function onDropFont (e) {

e.preventDefault();

// delete contents of the axes container
Q("#axes").innerHTML = "";

// get arrayBuffer from dropped object
const file = e.dataTransfer.files[0];
file.arrayBuffer().then(arrayBuffer => {
Expand Down

0 comments on commit 2a9363d

Please sign in to comment.