开发:修改UI文字

pull/2766/MERGE
ChenX 4 months ago
parent 50c9038c94
commit 3cf60c0974

@ -66,9 +66,9 @@ const MaterialActionOptions = [
];
const ActionModeOptions = [
{ label: "圆弧模式", value: TempalteActionRadiusType.Radius },
{ label: "凸度模式", value: TempalteActionRadiusType.Bulge },
{ label: "高度模式", value: TempalteActionRadiusType.Height },
{ label: "半径", value: TempalteActionRadiusType.Radius },
{ label: "凸度", value: TempalteActionRadiusType.Bulge },
{ label: "高度", value: TempalteActionRadiusType.Height },
];
/**
@ -147,21 +147,6 @@ export class TempalteActionDialog extends React.Component<ITempalteActionDialogP
/>
</Label>
}
{
this.actionType === EEditorActionType.AddRadius &&
<Label className={Classes.INLINE}>
<div className='spanText'><span> :</span></div>
<HTMLSelect
large={true}
options={ActionModeOptions}
value={this.actionModeType}
onChange={(e) =>
{
this.actionModeType = parseInt(e.currentTarget.options[e.target.selectedIndex].value);
}}
/>
</Label>
}
<Label className={Classes.INLINE}>
<div className='spanText'><span> :</span></div>
<input
@ -181,6 +166,21 @@ export class TempalteActionDialog extends React.Component<ITempalteActionDialogP
/>
</Label>
}
{
this.actionType === EEditorActionType.AddRadius &&
<Label className={Classes.INLINE}>
<div className='spanText'><span> :</span></div>
<HTMLSelect
large={true}
options={ActionModeOptions}
value={this.actionModeType}
onChange={(e) =>
{
this.actionModeType = parseInt(e.currentTarget.options[e.target.selectedIndex].value);
}}
/>
</Label>
}
{
currentActionInfo.type !== TemplateParamType.Material ?
(!isEditor && this.actionType === EEditorActionType.Add &&

Loading…
Cancel
Save