We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d1a2d6 commit e348605Copy full SHA for e348605
game/menu/js/izombieonline.js
@@ -84,8 +84,10 @@ function renderThumbnail(thumb, thumbContainer) {
84
img.style.top = `${plant[2] * 0.15}px`;
85
img.style.width = `${plant[3] * 0.15}px`;
86
img.style.height = `${plant[4] * 0.15}px`;
87
- img.style.transform = "scale(1.5)";
88
img.style.zIndex = plant[5];
+ if (window[izombiePlantsMap[plant[0]]] !== oPumpkinHead) {
89
+ img.style.transform = "scale(1.5)";
90
+ }
91
img.className = "cardboardNoShadow";
92
thumbContainer.appendChild(img);
93
});
0 commit comments