inooid / react-redux-card-game

A web version of Blizzard's Hearthstone game built with React, Redux and ImmutableJS
MIT License
107 stars 20 forks source link

Remove ugly <div>'s from DropTargets and DragSources #44

Open inooid opened 8 years ago

inooid commented 8 years ago

Currently minions are both DropTarget's and DragSource's, because you can drag the minion, but also drag a minion on top of another minion to position them next to them. In order to fix some ugly styling issues, I found this useful issue that might clean up our code.

See: https://github.com/gaearon/react-dnd/issues/347