Open the color box when the custom label is clicked

This commit is contained in:
cmdr2 2022-12-06 16:17:45 +05:30
parent c9e34457cd
commit ff43dac2a7

View File

@ -148,6 +148,9 @@ var IMAGE_EDITOR_SECTIONS = [
element.appendChild(input)
var span = document.createElement("span")
span.textContent = "Custom"
span.onclick = function(e) {
input.click()
}
element.appendChild(span)
}
else {