fix: remove player color border and owner bar from battlefield cards
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
52d51ebd5e
commit
920d7d9787
1 file changed
-2
@@ -290,7 +290,6 @@ function renderBattlefieldCard(cardData) {
|
||||
card.style.top = (cardData.y || 10) + 'px';
|
||||
|
||||
const playerColor = (gameState.players[cardData.ownerIndex] || {}).color || 'transparent';
|
||||
card.style.borderColor = playerColor;
|
||||
|
||||
if (cardData.tapped) card.classList.add('tapped');
|
||||
if (cardData.faceDown) card.classList.add('face-down');
|
||||
@@ -324,7 +323,6 @@ function renderBattlefieldCard(cardData) {
|
||||
card.innerHTML =
|
||||
protBadge +
|
||||
'<img src="' + imgUrl + '" alt="' + altName + '" draggable="false" loading="lazy"/>' +
|
||||
'<div class="card-owner-bar" style="background:' + playerColor + '"></div>' +
|
||||
kwBadgeHtml;
|
||||
|
||||
// Counter badges
|
||||
|
||||
Reference in new issue
Block a user