xribene commited on
Commit
ad3839c
·
1 Parent(s): 426e761
frontend/src/views/DrawAndListen.vue CHANGED
@@ -59,6 +59,7 @@ async function sendCanvasData() {
59
 
60
  // Handle the result
61
  console.log(result);
 
62
  }
63
 
64
  // Helper function to wrap canvas.toBlob in a Promise
@@ -84,7 +85,7 @@ async function processScore() {
84
  sendCanvasData().catch(error => {
85
  console.error('An error occurred:', error);
86
  });
87
- alphaTex.value.updateResult(result.data[0])
88
  }
89
 
90
  function updateScoreCode(scoreCode) {
 
59
 
60
  // Handle the result
61
  console.log(result);
62
+ alphaTex.value.updateResult(result.data[0])
63
  }
64
 
65
  // Helper function to wrap canvas.toBlob in a Promise
 
85
  sendCanvasData().catch(error => {
86
  console.error('An error occurred:', error);
87
  });
88
+ // alphaTex.value.updateResult(result.data[0])
89
  }
90
 
91
  function updateScoreCode(scoreCode) {