From 35b3226995b6529d945829941212087b2248ce86 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Fri, 20 Aug 2021 23:53:59 -0500 Subject: [PATCH] Updated action node type --- src/data/layers/main.ts | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/data/layers/main.ts b/src/data/layers/main.ts index 255b46c..9b9f41b 100644 --- a/src/data/layers/main.ts +++ b/src/data/layers/main.ts @@ -118,15 +118,10 @@ export default { title(node) { return camelToTitle((node.data as ActionNodeData).actionType); }, - tooltip(node) { - switch ((node.data as ActionNodeData).actionType) { - default: - return camelToTitle((node.data as ActionNodeData).actionType); - case "browse": - return "Browse the internet"; - } + fillColor() { + return themes[player.theme].variables["--background-tooltip"]; }, - draggable: false, + draggable: true, shape: Shape.Diamond, size: 100, progressColor: "#0FF3",