修正材质编辑器的样式错误问题

pull/214/MERGE
ChenX 6 years ago
parent a01a676004
commit cbe7a2bbe3

@ -337,7 +337,7 @@ export class TextureComponent extends React.Component<InputData, {}>{
<div className="att"> <div className="att">
{...valueKeys.map((o, id) => o.render("matinput", id))} {...valueKeys.map((o, id) => o.render("matinput", id))}
<div className="matinput"> <div className="matinput">
<span className="prompt center"></span> <span className="prompt"></span>
<div className="input1"> <div className="input1">
<span className="center">X</span> <span className="center">X</span>
<input <input
@ -377,10 +377,6 @@ export class TextureComponent extends React.Component<InputData, {}>{
} }
imgClickHandle = () => imgClickHandle = () =>
{ {
let self = this;
let material = this.props.obj as THREE.Material;
let key = this.props.data.key;
let callback = this.props.updataValueCallback;
FileSystem.chooseFile(async (files) => FileSystem.chooseFile(async (files) =>
{ {
if (files.length > 0) if (files.length > 0)

Loading…
Cancel
Save