Fix double scale bug
This commit is contained in:
parent
5039358368
commit
f384adcc09
1 changed files with 7 additions and 9 deletions
|
|
@ -79,15 +79,13 @@ const WeaponUnit = (props: Props) => {
|
||||||
)
|
)
|
||||||
|
|
||||||
const editableImage = (
|
const editableImage = (
|
||||||
<div className="WeaponImage">
|
<SearchModal
|
||||||
<SearchModal
|
placeholderText="Search for a weapon..."
|
||||||
placeholderText="Search for a weapon..."
|
fromPosition={props.position}
|
||||||
fromPosition={props.position}
|
object="weapons"
|
||||||
object="weapons"
|
send={props.updateObject}>
|
||||||
send={props.updateObject}>
|
{image}
|
||||||
{image}
|
</SearchModal>
|
||||||
</SearchModal>
|
|
||||||
</div>
|
|
||||||
)
|
)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue