[Scene] Add SceneStringNames::font(_size/_color)
This commit is contained in:
parent
b435551682
commit
d519715d94
77 changed files with 453 additions and 446 deletions
|
|
@ -446,9 +446,9 @@ void EditorVisualProfiler::_graph_tex_draw() {
|
|||
return;
|
||||
}
|
||||
|
||||
Ref<Font> font = get_theme_font(SNAME("font"), SNAME("Label"));
|
||||
int font_size = get_theme_font_size(SNAME("font_size"), SNAME("Label"));
|
||||
const Color color = get_theme_color(SNAME("font_color"), EditorStringName(Editor));
|
||||
Ref<Font> font = get_theme_font(SceneStringName(font), SNAME("Label"));
|
||||
int font_size = get_theme_font_size(SceneStringName(font_size), SNAME("Label"));
|
||||
const Color color = get_theme_color(SceneStringName(font_color), EditorStringName(Editor));
|
||||
|
||||
if (seeking) {
|
||||
int max_frames = frame_metrics.size();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue