!1603 优化:给俯视,二维线框等添加固定背景显示

pull/1600/MERGE
黄诗津 3 years ago committed by ChenX
parent d576a6020f
commit 981fa5872c

@ -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 (
<>
<div>
<Popover
isOpen={m_isMenuShow === MenuType.ControlsMenu}
modifiers={{ arrow: { enabled: false } }}
@ -219,7 +219,7 @@ export class CameraControlBtn extends React.Component<{ store: CameraControlBtnS
onClick={() => commandMachine.ExecCommand(CommandNames.PrintType)}
/>
}
</>
</div>
);
}

Loading…
Cancel
Save