From c629b4ccdfaccbc99bd7b5f9cc4fc4eaa3fde166 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=91=E5=B0=8F=E9=B8=A6?= <61354956+crowya@users.noreply.github.com> Date: Fri, 28 Jul 2023 15:27:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BAArgon=E4=B8=BB=E9=A2=98=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=9E=81=E7=AE=80=E6=A8=A1=E5=BC=8F=E7=A7=98=E5=AF=86?= =?UTF-8?q?=E9=80=9A=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live2d/waifu-tips.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/live2d/waifu-tips.js b/live2d/waifu-tips.js index c7ce071..7e6d436 100644 --- a/live2d/waifu-tips.js +++ b/live2d/waifu-tips.js @@ -19,6 +19,20 @@ function aplayer_panel_toggle(){ } } +var simple_mode=false; +function simple_mode_toggle(){ + if(simple_mode){ + $("#content").removeClass("background-hide"); + $("html").removeClass("filter-grayscale"); + simple_mode=false; + } + else{ + $("#content").addClass("background-hide"); + $("html").addClass("filter-grayscale"); + simple_mode=true; + } +} + function loadWidget() { localStorage.removeItem("waifu-display"); sessionStorage.removeItem("waifu-text");