Don't re-render input while focused

This commit is contained in:
Rob Garrison 2018-09-20 02:39:24 -05:00
parent c18671c91c
commit 93dee41c11

View File

@ -363,6 +363,9 @@ function configDialog(style) {
function renderValues(varsToRender = vars) {
for (const va of varsToRender) {
if (va.input === document.activeElement) {
continue;
}
const value = isDefault(va) ? va.default : va.value;
if (va.type === 'color') {
va.input.style.backgroundColor = value;