|
|
@ -1,7 +1,6 @@
|
|
|
|
import { Button } from "@blueprintjs/core";
|
|
|
|
import { Button } from "@blueprintjs/core";
|
|
|
|
import { observer } from "mobx-react";
|
|
|
|
import { observer } from "mobx-react";
|
|
|
|
import React from "react";
|
|
|
|
import React from "react";
|
|
|
|
import { IsTest } from "../../../Common/Deving";
|
|
|
|
|
|
|
|
import { DownPanelStore, ToolBarType } from "../../Store/DownPanelStore";
|
|
|
|
import { DownPanelStore, ToolBarType } from "../../Store/DownPanelStore";
|
|
|
|
import { RightPanelStore } from "../../Store/RightPanelStore/RightPanelStore";
|
|
|
|
import { RightPanelStore } from "../../Store/RightPanelStore/RightPanelStore";
|
|
|
|
@observer
|
|
|
|
@observer
|
|
|
@ -38,15 +37,12 @@ export class PropertiesPanelButton extends React.Component<{}, {}>
|
|
|
|
icon="eject"
|
|
|
|
icon="eject"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
{
|
|
|
|
<Button
|
|
|
|
IsTest() &&
|
|
|
|
className={downStore.showType & ToolBarType.resourceLibrary ? "iconTransBtn" : ""}
|
|
|
|
<Button
|
|
|
|
small={true}
|
|
|
|
className={downStore.showType & ToolBarType.resourceLibrary ? "iconTransBtn" : ""}
|
|
|
|
onClick={() => { DownPanelStore.GetInstance().showType ^= ToolBarType.resourceLibrary; }}
|
|
|
|
small={true}
|
|
|
|
icon="swap-vertical"
|
|
|
|
onClick={() => { DownPanelStore.GetInstance().showType ^= ToolBarType.resourceLibrary; }}
|
|
|
|
/>
|
|
|
|
icon="swap-vertical"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</>
|
|
|
|
</>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|