Three 160, importmap only towards CDN, no more Sparc imports for Three components, kicke outdated outliner, replaced by custom simpler highliter

This commit is contained in:
STEINNI
2025-11-17 17:19:35 +00:00
parent 29579c3005
commit 77591ce243

View File

@@ -260,10 +260,8 @@ class BZslidePane extends Buildoz {
} }
this.dragMove = this.dragMove.bind(this) this.dragMove = this.dragMove.bind(this)
this.dragEnd = this.dragEnd.bind(this) this.dragEnd = this.dragEnd.bind(this)
this._observer = new MutationObserver(muts => { // Fill with innerHTML or other DOM manip should not allow coating to be removed // Fill with innerHTML or other DOM manip should not allow coating to be removed
console.log('mutation...') this._observer = new MutationObserver(muts => { this.coat() })
this.coat()
})
} }
connectedCallback(){ connectedCallback(){
@@ -277,7 +275,7 @@ class BZslidePane extends Buildoz {
this._observer.disconnect() this._observer.disconnect()
} }
coat(){ console.log('coat') coat(){
if(this.handle && this.querySelector(this.dispatchEvent.handle)) return if(this.handle && this.querySelector(this.dispatchEvent.handle)) return
this._observer.disconnect() this._observer.disconnect()
if(this.querySelector(this.dispatchEvent.handle)) this.querySelector(this.dispatchEvent.handle).remove() if(this.querySelector(this.dispatchEvent.handle)) this.querySelector(this.dispatchEvent.handle).remove()