From 93dee41c1110135f4e7eee852114e37bc7a16c87 Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Thu, 20 Sep 2018 02:39:24 -0500 Subject: [PATCH] Don't re-render input while focused --- manage/config-dialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manage/config-dialog.js b/manage/config-dialog.js index efd720b0..65734a5f 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -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;