} | } | ||||
this.classList.add(CLASS_BTN_ACTIVE); | this.classList.add(CLASS_BTN_ACTIVE); | ||||
self.__activePaletteEl = this; | self.__activePaletteEl = this; | ||||
//self.emit("active_palette_color", i); | |||||
GlobalEvents.emit("active_palette_color", i.pi, i.ci); | |||||
} | } | ||||
} | } | ||||
} | } |