Multiple cards played on a site in adventure path should be now layed out correctly - all should be visible, rather than only the one played most recently, also the played cards will be placed "under" the site, rather than on top. Also player tokens on the site will be put on top of the site and will not be obscured from view by the cards on top of the site.

This commit is contained in:
marcins78@gmail.com
2011-10-05 10:25:25 +00:00
parent 2070f6aa10
commit d9a4b1c9bf

View File

@@ -51,7 +51,6 @@ var CardGroup = Class.extend({
var borderOverlay = $(".borderOverlay", cardElem);
borderOverlay.css({position: "absolute", left: 0 + "px", top: 0 + "px", width: width - 2 * borderWidth, height: height - 2 * borderWidth, "border-width": borderWidth + "px"});
var maxDimension = Math.max(width, height);
var tokenSize = Math.floor(maxDimension / 12) * 2;
var tokens = cardElem.data("card").tokens;