From 981fa5872ce10504295ddb921fca166e32878452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E8=AF=97=E6=B4=A5?= <2723065175@qq.com> Date: Mon, 30 Aug 2021 01:10:12 +0000 Subject: [PATCH] =?UTF-8?q?!1603=20=E4=BC=98=E5=8C=96:=E7=BB=99=E4=BF=AF?= =?UTF-8?q?=E8=A7=86,=E4=BA=8C=E7=BB=B4=E7=BA=BF=E6=A1=86=E7=AD=89?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9B=BA=E5=AE=9A=E8=83=8C=E6=99=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/CameraControlButton/CameraControlBtn.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UI/Components/CameraControlButton/CameraControlBtn.tsx b/src/UI/Components/CameraControlButton/CameraControlBtn.tsx index 42fb81138..7c2b3dadf 100644 --- a/src/UI/Components/CameraControlButton/CameraControlBtn.tsx +++ b/src/UI/Components/CameraControlButton/CameraControlBtn.tsx @@ -9,7 +9,6 @@ import { CommandNames } from "../../../Common/CommandNames"; import { KeyBoard } from "../../../Common/KeyEnum"; import { Singleton } from "../../../Common/Singleton"; import { commandMachine } from "../../../Editor/CommandMachine"; -import { userConfig } from "../../../Editor/UserConfig"; import { equalv3 } from "../../../Geometry/GeUtils"; import { DownPanelStore } from "../../Store/DownPanelStore"; import { VisualStyleData, VisualStyleData2 } from "./IVisualType"; @@ -134,10 +133,11 @@ export class CameraControlBtn extends React.Component<{ store: CameraControlBtnS lineHeight: "1px", padding: 2, minWidth: 20, - color: app.Viewer.isLayout ? "#000" : (userConfig.switchBackground ? "#fff" : "#000") + color: "#fff", + background: "black" }; return ( - <> +
commandMachine.ExecCommand(CommandNames.PrintType)} /> } - +
); }