xftjt
This commit is contained in:
parent
0750b4548a
commit
b52367312e
@ -427,8 +427,16 @@
|
||||
const state = handSlotState[id];
|
||||
if (!slot) return;
|
||||
|
||||
/* KOMPLETT RESET */
|
||||
slot.innerHTML = "";
|
||||
slot.style.backgroundImage = "none";
|
||||
slot.style.opacity = "1";
|
||||
slot.style.filter = "none";
|
||||
slot.style.backgroundColor = "#0a0805";
|
||||
slot.classList.remove("hand-slot-ready", "hand-slot--filled");
|
||||
|
||||
if (!state) {
|
||||
slot.style.backgroundImage = '';
|
||||
slot.style.backgroundImage = "";
|
||||
slot.innerHTML = '<span class="hs-icon">🃏</span>';
|
||||
slot.classList.remove("hand-slot-ready", "hand-slot--filled");
|
||||
slot.draggable = false;
|
||||
@ -466,9 +474,9 @@
|
||||
// Kein <img>-Element → keine Flex-Höhen-Probleme, kein z-index-Konflikt.
|
||||
// background-color (#0a0805) deckt transparente PNG-Bereiche solid ab.
|
||||
if (card.image) {
|
||||
slot.style.backgroundImage = 'none';
|
||||
slot.style.backgroundImage = "none";
|
||||
} else {
|
||||
slot.style.backgroundImage = 'none';
|
||||
slot.style.backgroundImage = "none";
|
||||
}
|
||||
|
||||
slot.innerHTML = card.image
|
||||
|
||||
Loading…
Reference in New Issue
Block a user