Updated action node type

This commit is contained in:
thepaperpilot 2021-08-20 23:53:59 -05:00
parent 0dc1af27b5
commit 35b3226995

View file

@ -118,15 +118,10 @@ export default {
title(node) { title(node) {
return camelToTitle((node.data as ActionNodeData).actionType); return camelToTitle((node.data as ActionNodeData).actionType);
}, },
tooltip(node) { fillColor() {
switch ((node.data as ActionNodeData).actionType) { return themes[player.theme].variables["--background-tooltip"];
default:
return camelToTitle((node.data as ActionNodeData).actionType);
case "browse":
return "Browse the internet";
}
}, },
draggable: false, draggable: true,
shape: Shape.Diamond, shape: Shape.Diamond,
size: 100, size: 100,
progressColor: "#0FF3", progressColor: "#0FF3",