From 8358b3578d35f204f02cb33c66f7c7f9f2141693 Mon Sep 17 00:00:00 2001 From: walcutt Date: Thu, 26 Dec 2024 22:54:39 -0500 Subject: [PATCH] Add stopgaps for user editing --- module/sheets/hench-cards-sheet.mjs | 1 + styles/hench.css | 4 ++++ templates/cards/cards.hbs | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/module/sheets/hench-cards-sheet.mjs b/module/sheets/hench-cards-sheet.mjs index 48043c8..d3c5eba 100644 --- a/module/sheets/hench-cards-sheet.mjs +++ b/module/sheets/hench-cards-sheet.mjs @@ -11,6 +11,7 @@ export class HenchCardsSheet extends CardsConfig { /** @override */ getData() { const t = super.getData(); + t.canManage = game.users.current.isGM; return t; } diff --git a/styles/hench.css b/styles/hench.css index e80686e..36147d6 100644 --- a/styles/hench.css +++ b/styles/hench.css @@ -39,6 +39,10 @@ font-weight: bold; } +.hench-strikethrough { + text-decoration-line: line-through; +} + .hench-centered { text-align: center; } diff --git a/templates/cards/cards.hbs b/templates/cards/cards.hbs index 7a8e94f..c874cf2 100644 --- a/templates/cards/cards.hbs +++ b/templates/cards/cards.hbs @@ -18,7 +18,7 @@ Draw -
+
Edit deck