Minor change
This commit is contained in:
@ -172,8 +172,10 @@ export function pickColor(arn: AnimeNotifier, element: HTMLElement) {
|
|||||||
|
|
||||||
let input = document.createElement("input")
|
let input = document.createElement("input")
|
||||||
input.type = "color"
|
input.type = "color"
|
||||||
input.click()
|
|
||||||
input.oninput = () => {
|
input.oninput = () => {
|
||||||
rootStyle.setProperty(variableName, input.value)
|
rootStyle.setProperty(variableName, input.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input.click()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user