goinvo / PopHealth

http://code.goinvo.com/pophealth
1 stars 1 forks source link

Non initial cards' sort causes a messed up alignment when comparing #7

Closed clementprdhomme closed 10 years ago

clementprdhomme commented 10 years ago

When the cards are sorted by the user, the compare mode has a completely messed up alignment.

clementprdhomme commented 10 years ago

Fixed today with some changes in the algorithm that calculates the offset between the cards. Previously it was based on the offset to top of the card below the current, now it's based on the (current) card's height.