summaryrefslogtreecommitdiff
path: root/scene/3d/label_3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/label_3d.h')
-rw-r--r--scene/3d/label_3d.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/3d/label_3d.h b/scene/3d/label_3d.h
index 86b8faa617..62f4c3fe96 100644
--- a/scene/3d/label_3d.h
+++ b/scene/3d/label_3d.h
@@ -83,7 +83,7 @@ private:
RID material;
};
- Map<uint64_t, SurfaceData> surfaces;
+ HashMap<uint64_t, SurfaceData> surfaces;
HorizontalAlignment horizontal_alignment = HORIZONTAL_ALIGNMENT_CENTER;
VerticalAlignment vertical_alignment = VERTICAL_ALIGNMENT_CENTER;
@@ -96,6 +96,7 @@ private:
int font_size = 16;
Ref<Font> font_override;
+ mutable Ref<Font> theme_font;
Color modulate = Color(1, 1, 1, 1);
Point2 lbl_offset;
int outline_render_priority = -1;