From ad1454220e4713375654904faef1e51b44dedbb0 Mon Sep 17 00:00:00 2001 From: ChenX Date: Fri, 8 Oct 2021 10:56:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E6=9D=90=E8=B4=A8=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts b/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts index c4ee38e8f..9617d8994 100644 --- a/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts +++ b/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts @@ -234,7 +234,7 @@ export default class ResourceStore // mtl.color.convertLinearToGamma(); color.convertGammaToLinear(0.5);//本质上等于上一行代码 - mtl.color = color.getHexString(); + mtl.color = "#" + color.getHexString(); mtl.Update(); }