mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-16 00:52:23 -07:00
never build hover evals if we cannot evaluate the root expression successfully
This commit is contained in:
@@ -6174,6 +6174,13 @@ rd_window_frame(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
// rjf: evaluate hover-evaluation expression - if it doesn't evaluate, then don't build anything
|
||||
E_Eval hover_eval = e_eval_from_string(scratch.arena, ws->hover_eval_string);
|
||||
if(hover_eval.msgs.max_kind > E_MsgKind_Null)
|
||||
{
|
||||
build_hover_eval = 0;
|
||||
}
|
||||
|
||||
// rjf: reset open animation
|
||||
if(ws->hover_eval_string.size == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user