From 512b87adc4469f9deb472c5b5de40cf2d651c081 Mon Sep 17 00:00:00 2001 From: Dapoolp Date: Fri, 8 Aug 2025 21:32:55 +0200 Subject: [PATCH] Remove comments --- module/dice/damageRoll.mjs | 1 - module/dice/dhRoll.mjs | 7 ------- styles/less/ui/chat/chat.less | 1 - 3 files changed, 9 deletions(-) diff --git a/module/dice/damageRoll.mjs b/module/dice/damageRoll.mjs index c5e529af..31458516 100644 --- a/module/dice/damageRoll.mjs +++ b/module/dice/damageRoll.mjs @@ -40,7 +40,6 @@ export default class DamageRoll extends DHRoll { } await super.buildPost(roll, config, message); if (config.source?.message) { - // const chatMessage = ui.chat.collection.get(config.source.message); chatMessage.update({ 'system.damage': config.damage }); } } diff --git a/module/dice/dhRoll.mjs b/module/dice/dhRoll.mjs index 488f5a7e..710a2728 100644 --- a/module/dice/dhRoll.mjs +++ b/module/dice/dhRoll.mjs @@ -123,13 +123,6 @@ export default class DHRoll extends Roll { options.message.system.user = game.user.id; return options.message.system; } - // return { - // formula: isPrivate ? "???" : this._formula, - // flavor: isPrivate ? null : flavor ?? this.options.flavor, - // user: game.user.id, - // tooltip: isPrivate ? "" : await this.getTooltip(), - // total: isPrivate ? "?" : Math.round(this.total * 100) / 100 - // }; } static applyKeybindings(config) { diff --git a/styles/less/ui/chat/chat.less b/styles/less/ui/chat/chat.less index c59e8d20..6ffd00cf 100644 --- a/styles/less/ui/chat/chat.less +++ b/styles/less/ui/chat/chat.less @@ -123,7 +123,6 @@ flex-direction: column; align-items: center; gap: 5px; - // padding: 5px 0; .dice-tooltip { width: 100%;