Skip to content

Commit 9359d1e

Browse files
committed
fix(ui): disabling debuffed checkbox for wrong blind
1 parent 8975679 commit 9359d1e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ui/css/_components.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
margin-top: 1.5rem;
9292
}
9393

94-
.playing-card:not(.--has-verdant-leaf) .c-is-debuffed {
94+
.playing-card:not(.--is-blind-the-pillar) .c-is-debuffed {
9595
display: none;
9696
}
9797

src/ui/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,13 +482,13 @@ function updateCardState (el: Element) {
482482
el.classList.remove(
483483
'--is-played',
484484
'--is-debuffed',
485-
'--has-verdant-leaf'
485+
'--is-blind-the-pillar'
486486
)
487487

488488
;[
489489
isPlayedEl.checked ? '--is-played' : null,
490490
isDebuffedEl.checked ? '--is-debuffed' : null,
491-
blindNameEl.value === 'Verdant Leaf' && blindIsActiveEl.checked ? '--has-verdant-leaf' : undefined,
491+
blindNameEl.value === 'The Pillar' && blindIsActiveEl.checked ? '--is-blind-the-pillar' : undefined,
492492
].filter(notNullish).forEach((className) => el.classList.add(className))
493493
}
494494

0 commit comments

Comments
 (0)