Force a higher z-index when mousing over a card in your hand. This should help with the face-down cards other people have played covering your own hand while deciding what to play.

This commit is contained in:
Andy Janata 2014-02-16 22:45:22 -08:00
parent d027e0d175
commit 5ad372ee19
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ cah.Game.prototype.handCardMouseEnter_ = function(e) {
if (!$(".game_animate_cards", this.element_).attr("checked")) { if (!$(".game_animate_cards", this.element_).attr("checked")) {
return; return;
} }
$(e.data.card.getElement()).css("z-index", "2").animate({ $(e.data.card.getElement()).css("z-index", "400").animate({
scale : this.handCardLargeScale_, scale : this.handCardLargeScale_,
width : this.handCardLargeSize_, width : this.handCardLargeSize_,
}, { }, {