@ -95,6 +95,7 @@ function drawLabel() {
if (width > minimumSizeX && height > minimumSizeY) {
new Promise(function (resolve, reject) {
// TODO: show the modal for text input then if insert and value --> resolve, if cancel --> reject
insert.addEventListener("click", (e) => {
if (input.value) {
resolve(input.value);