From fe9b56acaa13f2743e83083a2daa13f4e5fcb963 Mon Sep 17 00:00:00 2001 From: trotFunky Date: Fri, 30 May 2025 21:38:02 +0100 Subject: [PATCH] Introduce token UI adjustment script Most of the token UI like tracking bars go over the token in its own square. However, the dynamic borders do the same and conflict with them. This script will handle moving the already existing UI elements to free up the view of the token. --- module.json | 3 ++- scripts/token_ui_adjust.mjs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 scripts/token_ui_adjust.mjs diff --git a/module.json b/module.json index 8ff3426..05b71e1 100644 --- a/module.json +++ b/module.json @@ -50,7 +50,8 @@ } ], "esmodules": [ - "scripts/token_combat_border.mjs" + "scripts/token_combat_border.mjs", + "scripts/token_ui_adjust.mjs" ], "socket": true, "packs": [ diff --git a/scripts/token_ui_adjust.mjs b/scripts/token_ui_adjust.mjs new file mode 100644 index 0000000..d9fe92f --- /dev/null +++ b/scripts/token_ui_adjust.mjs @@ -0,0 +1,2 @@ +import * as MillsFabula from "./mills_fabula.mjs"; +