Amelioration de la navigation sur la carte
This commit is contained in:
parent
aa8ea624c7
commit
799dd817ae
5 changed files with 171 additions and 46 deletions
|
|
@ -209,7 +209,7 @@ export class BidiPanelElement extends HTMLElement {
|
|||
requestDispatchChangeEvent(){
|
||||
let currentPanel = this.activeChildren
|
||||
if(currentPanel != this.#lastActive){
|
||||
this.dispatchEvent(new ActivePanelChangeEvent("activePanelChange", this.#currentIndex))
|
||||
this.dispatchEvent(new ActivePanelChangeEvent("activePanelChange", this.#currentIndex || this.activeChildrenIndex))
|
||||
this.#lastActive = currentPanel
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue