aboutsummaryrefslogtreecommitdiff
path: root/mod/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'mod/src/main')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/richtext/TextHUDFeature.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/richtext/TextHUDFeature.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/richtext/TextHUDFeature.java
index 40a990cf..bfa4fab5 100644
--- a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/richtext/TextHUDFeature.java
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/features/richtext/TextHUDFeature.java
@@ -142,6 +142,7 @@ public abstract class TextHUDFeature extends AbstractHUDFeature {
private Map<String, DefaultingDelegatingTextStyle> styleMap = new HashMap<>();
public void registerDefaultStyle(String name, DefaultingDelegatingTextStyle style) {
defaultStyleMap.put(name, style);
+ styleMap.put(name, DefaultingDelegatingTextStyle.derive("User Setting of "+name, () -> defaultStyleMap.get(name)));
}
public DefaultingDelegatingTextStyle getStyle(String name) {
return styleMap.get(name);