From d9a4b1c9bfab9acd6c9f5b6f2708fb07ec44f44c Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Wed, 5 Oct 2011 10:25:25 +0000 Subject: [PATCH] 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. --- gemp-lotr/gemp-lotr-web/src/main/webapp/js/jCardGroup.js | 1 - 1 file changed, 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/jCardGroup.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/jCardGroup.js index a27200b37..3da6a2330 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/jCardGroup.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/jCardGroup.js @@ -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;