From dcb509cce0a621b7995ddf23be85cb4491203665 Mon Sep 17 00:00:00 2001 From: tickle Date: Sun, 2 Oct 2022 09:04:34 +0900 Subject: [PATCH] =?UTF-8?q?[0582/color-type:0.1.0]=20ColorType:=20Type0?= =?UTF-8?q?=E3=81=8C=E6=97=A2=E5=AE=9A=E5=80=A4=E3=81=AB=E3=81=AA=E3=82=89?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/danoni_main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/danoni_main.js b/js/danoni_main.js index 19f38cb0..14afa6ee 100644 --- a/js/danoni_main.js +++ b/js/danoni_main.js @@ -4971,7 +4971,9 @@ const createOptionWindow = _sprite => { resetColorType({ _fromObj: storageObj, _from: addKey, _toObj: g_dfColorObj, _to: g_keycons.colorSelf }); } else { - g_colorType = `Default`; + if (g_localStorage.colorType === g_keycons.colorSelf) { + g_colorType = `Default`; + } g_keycons.colorTypes = g_keycons.colorTypes.filter(val => val !== g_keycons.colorSelf); }