locate variable in editor
This commit is contained in:
1 parent
35ca8285d0
commit
f15fe82dc5
1 file changed
+1
-1
@@ -106,7 +106,7 @@ const VarDefItem: FC<VarDefItemProps> = ({ name, onChange, onRemove, disabled, .
|
|||||||
borderTop: "1px solid #3d506c",
|
borderTop: "1px solid #3d506c",
|
||||||
borderBottom: "1px solid #3d506c",
|
borderBottom: "1px solid #3d506c",
|
||||||
}}
|
}}
|
||||||
onClick={() => editing?.dispatch("clickVar", name)}
|
onClick={() => value.name && editing?.dispatch("clickVar", value.name)}
|
||||||
>
|
>
|
||||||
<AimOutlined />
|
<AimOutlined />
|
||||||
<span style={{ marginLeft: 4 }}>{value?.count ?? 0}</span>
|
<span style={{ marginLeft: 4 }}>{value?.count ?? 0}</span>
|
||||||
|
|||||||
Reference in new issue
Block a user