diff --git a/changelog.md b/changelog.md
index a1eeef8..91fb07b 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,5 +1,8 @@
# The Modding Tree changelog:
+# v2.6.6.2 = 9/9/21
+- nodeStyle can now be used to set fonts.
+
# v2.6.6.1 = 9/8/21
- Fixed options not updating when new ones are added.
diff --git a/css/tree-node.css b/css/tree-node.css
index 73ff441..8e11d00 100644
--- a/css/tree-node.css
+++ b/css/tree-node.css
@@ -14,6 +14,11 @@
margin: 0 10px 0 10px;
}
+.nodeLabel {
+ font: inherit;
+ font-family: inherit;
+}
+
.treeButton {
height: 100px;
width: 100px;
diff --git a/js/Demo/layers/c.js b/js/Demo/layers/c.js
index 4c9f1ac..5ab4685 100644
--- a/js/Demo/layers/c.js
+++ b/js/Demo/layers/c.js
@@ -364,7 +364,8 @@ addLayer("c", {
}},
nodeStyle() {return { // Style on the layer node
'color': '#3325CC',
- 'text-decoration': 'underline'
+ 'text-decoration': 'underline',
+ 'font-family': 'cursive'
}},
glowColor: "orange", // If the node is highlighted, it will be this color (default is red)
componentStyles: {
diff --git a/js/game.js b/js/game.js
index 48ab96e..dc90a68 100644
--- a/js/game.js
+++ b/js/game.js
@@ -3,7 +3,7 @@ var needCanvasUpdate = true;
// Don't change this
const TMT_VERSION = {
- tmtNum: "2.6.6.1",
+ tmtNum: "2.6.6.2",
tmtName: "Fixed Reality"
}
diff --git a/js/technical/systemComponents.js b/js/technical/systemComponents.js
index d4ec4ec..867eebb 100644
--- a/js/technical/systemComponents.js
+++ b/js/technical/systemComponents.js
@@ -47,7 +47,7 @@ var systemComponents = {
front: !tmp.scrolled,
}"
v-bind:style="constructNodeStyle(layer)">
-
+