moved logic to canvas-controller.js; log cleanup; prep for load/save logic

This commit is contained in:
2026-11-01 00:41:38 -05:00
parent b7cae3f222
commit fcee92d88b
5 changed files with 44 additions and 56 deletions
+1 -6
View File
@@ -3,11 +3,7 @@ class BaseScriptElement extends HTMLElement {
constructor() { super(); }
connectedCallback() {
this.innerHTML = `
<li>
<label>${this.prefix}</label>
</li>
`;
this.innerHTML = `<li> <label>${this.prefix}</label> </li>`;
}
action(...args) { console.log("Hello, World!"); }
@@ -56,7 +52,6 @@ class RepeatElement extends BaseInputScriptElement {
action(Painter) {
for (let i = 0; i < this.value; i++) {
console.log(Painter.rotation)
for (const elm of this.children) {
elm.action(Painter);
}