cjurgens17 / Yu-Gi-Oh

Making a Tool to Create Yugioh decks
0 stars 0 forks source link

When card is clicked in Quick Succession in decks, JSON: unexpected end of string error occurs. #6

Closed cjurgens17 closed 1 year ago

cjurgens17 commented 1 year ago

Will find a solution to this once some more tickets are completed. Not a high priority as of right now. The tool is still functional and can be used with this bug currently active.

cjurgens17 commented 1 year ago

Fixed. Needed to add an additional dragStart function in the deckPrototype to handle dragging an already placed card in the same deck. We're now parsing the card data properly and out handler is happy.

Achieved Functionality: User can now take an existing card already in a deck and additionally drag and drop that one, so they can quickly add duplicates to the deck/decks of their choice.