forked from MapComplete/MapComplete
Add image delete button
This commit is contained in:
parent
f548ddea84
commit
0fe6b67976
13 changed files with 303 additions and 54 deletions
|
@ -58,6 +58,17 @@ export abstract class UIElement {
|
|||
}
|
||||
element.style.pointerEvents = "all";
|
||||
element.style.cursor = "pointer";
|
||||
/*
|
||||
const childs = element.children;
|
||||
for (let i = 0; i < childs.length; i++) {
|
||||
const ch = childs[i];
|
||||
console.log(ch);
|
||||
ch.style.cursor = "pointer";
|
||||
ch.onclick = () => {
|
||||
self._onClick();
|
||||
}
|
||||
ch.style.pointerEvents = "all";
|
||||
}*/
|
||||
}
|
||||
|
||||
this.InnerUpdate(element);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue