From a6f80c263968acd695f0766e91560bae841051f2 Mon Sep 17 00:00:00 2001 From: xing Date: Thu, 16 Feb 2023 00:34:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/theme/common/custombackground.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/theme/common/custombackground.go b/internal/theme/common/custombackground.go index 9b9a1d2..f786f2e 100644 --- a/internal/theme/common/custombackground.go +++ b/internal/theme/common/custombackground.go @@ -31,11 +31,11 @@ var repeat = map[string]string{ "no-repeat": "no-repeat", } -var backgroud = safety.NewVar("") +var backgroud = safety.NewVar("default") func (h *Handle) CustomBackGround() { b := backgroud.Load() - if b == "" { + if b == "default" { b = h.CalCustomBackGround() backgroud.Store(b) }