|
|
|
@ -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>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|