mouse down wiggle

This commit is contained in:
ntr 2019-09-19 21:52:15 +10:00
parent 31f3c80334
commit 74271de3ff

View File

@ -34,7 +34,7 @@ class ConstructAvatar extends Component {
<div <div
class="avatar" class="avatar"
id={construct.id} id={construct.id}
onClick={this.onClick.bind(this)} onMouseDown={this.onClick.bind(this)}
style={{ 'background-image': `url(/imgs/${construct.img}.svg)` }}> style={{ 'background-image': `url(/imgs/${construct.img}.svg)` }}>
<ConstructAnimation construct={construct} /> <ConstructAnimation construct={construct} />
</div> </div>