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:
parent
d027e0d175
commit
5ad372ee19
|
@ -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_,
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in New Issue