brush picker!

This commit is contained in:
りき萌 2025-06-19 13:48:07 +02:00
parent 9b82b211b4
commit c1612b2a94
12 changed files with 849 additions and 45 deletions

View file

@ -54,6 +54,10 @@ export class CodeEditor extends HTMLElement {
return this.textArea.value;
}
set code(newCode) {
this.textArea.value = newCode;
}
#codeChanged() {
this.#resizeTextArea();
this.#renderLayers();