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 = (
|
||||
<div className="WeaponImage">
|
||||
<SearchModal
|
||||
placeholderText="Search for a weapon..."
|
||||
fromPosition={props.position}
|
||||
object="weapons"
|
||||
send={props.updateObject}>
|
||||
{image}
|
||||
</SearchModal>
|
||||
</div>
|
||||
<SearchModal
|
||||
placeholderText="Search for a weapon..."
|
||||
fromPosition={props.position}
|
||||
object="weapons"
|
||||
send={props.updateObject}>
|
||||
{image}
|
||||
</SearchModal>
|
||||
)
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue