Skip to content

Commit

Permalink
Made input box better
Browse files Browse the repository at this point in the history
  • Loading branch information
VBproDev committed Nov 17, 2024
1 parent 2a52dac commit 4f3fedc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/script.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/stylesheet.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h4 class="me-1">Line width:</h4>
<div class="design_code">
<div>
<div>
<input name="user-design-array" class="design form-control" />
<input readonly name="user-design-array" class="design form-control" />
</div>
<p>This is your design, an array (a series of numbers), to edit some else's designs, paste his array here</p>
</div>
Expand Down
1 change: 0 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ function setArray() {
design.value = JSON.stringify(canvasArray);
}
;
design.select();
}
function undoFunc() {
const CA1 = canvasArray[canvasArray.length - 1];
Expand Down
1 change: 0 additions & 1 deletion script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ function setArray() {
} else {
design.value = JSON.stringify(canvasArray);
};
design.select();
}

function undoFunc() {
Expand Down
4 changes: 4 additions & 0 deletions stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,8 @@ footer a:hover {
.use_design button {
max-width: calc(100% - 2rem);
width: 20rem;
}

.design {
user-select: all;
}

0 comments on commit 4f3fedc

Please sign in to comment.