This commit is contained in:
Ryan Fleury
2024-01-30 14:44:11 -08:00
parent 2731bdac59
commit 00594a841a
2 changed files with 4 additions and 21 deletions
+4
View File
@@ -4142,6 +4142,10 @@ DF_VIEW_UI_FUNCTION_DEF(CallStack)
symbol = str8_lit("[external code]");
ui_set_next_text_color(df_rgba_from_theme_color(DF_ThemeColor_WeakText));
}
else
{
ui_set_next_text_color(df_rgba_from_theme_color(DF_ThemeColor_CodeFunction));
}
UI_Box *box = ui_build_box_from_string(UI_BoxFlag_DrawText|UI_BoxFlag_Clickable, symbol);
UI_Signal sig = ui_signal_from_box(box);
if(sig.pressed)