|
|
|
@ -46,6 +46,7 @@ export class ShareBoardInfoConfiguration extends React.Component<{ store: ShareV
|
|
|
|
|
render()
|
|
|
|
|
{
|
|
|
|
|
const option = this.props.store.m_Option;
|
|
|
|
|
const ColorList = ColorPalette.slice(0, 257); // 限制在[0, 255]
|
|
|
|
|
return (
|
|
|
|
|
<div id="ShareBoardInfoPanel" className={Classes.DIALOG_CONTAINER}>
|
|
|
|
|
<div className={Classes.DIALOG} >
|
|
|
|
@ -104,7 +105,7 @@ export class ShareBoardInfoConfiguration extends React.Component<{ store: ShareV
|
|
|
|
|
<div className="label">
|
|
|
|
|
<span>真实带线框颜色:</span>
|
|
|
|
|
<ColorSelect
|
|
|
|
|
options={JSON.parse(JSON.stringify(ColorPalette)).map((rgb, index) => ({ value: rgb, label: index }))}
|
|
|
|
|
options={JSON.parse(JSON.stringify(ColorList)).map((rgb, index) => ({ value: rgb, label: index }))}
|
|
|
|
|
value={option.Physical2EdgeColor}
|
|
|
|
|
onChange={(value) =>
|
|
|
|
|
{
|
|
|
|
|